Next: , Previous: , Up: built-in ports   [Contents][Index]


6.23.4 Textual input/output ports

Core Type: <textual-input/output-port>
Parent Type: <port>

Type of textual input/output ports.

Constructor on <textual-input/output-port>: <port> type-constructor port

Validate port as instance of <textual-input/output-port> and return it.

Type predicate on <textual-input/output-port>: <boolean> type-predicate obj

The type predicate is textual-input/output-port?.

Methods: input side

Method on <textual-input/output-port>: <reader-input-port-mode> mode this
Method on <textual-input/output-port>: () mode this {mode <reader-input-port-mode>}

Accessor and mutator for the port reader mode. The accessor applies port-mode to the argument; the mutator applies set-port-mode! to the arguments.

Method on <textual-input/output-port>: &source-position textual-position this

Apply port-textual-position to the argument and return its return value.

Method on <textual-input/output-port>: <boolean> eof? this

Apply port-eof? to the instance and return its return value.

Methods: output side

Method on <textual-input/output-port>: <output-port-buffer-mode> buffer-mode this
Method on <textual-input/output-port>: () buffer-mode this {buffer-mode <output-port-buffer-mode>}

Accessor and mutator for the port buffer mode. The accessor applies output-port-buffer-mode to the argument; the mutator applies set-port-buffer-mode! to the arguments.

Method on <textual-input/output-port>: () flush this

Apply flush-output-port to the instance.

Method on <textual-input/output-port>: &source-position textual-position this

Apply port-textual-position to the argument and return its return value.