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


6.23.8.9 Textual output port labels

Label Type: <textual-input-port>

Label–type for all the textual ports. Its parent is the type annotation:

(or <textual-input-only-port> <textual-input/output-port>)
Constructor on <textual-input-port>: <textual-input-port> type-constructor port

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

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

The type predicate is built combining the parent types’ type predicates.

Equality predicate on <textual-input-port>: <boolean> equality-predicate this {port <textual-input-port>}

The equality predicate is eq?.

Type predicate on <textual-input-port>: <non-negative-fixnum> hash-function this

The hash function is port-hash.

Methods: predicates

Method on <textual-output-port>: <boolean> open? this
Method on <textual-output-port>: <boolean> closed? this

Return #t if this is, respectively, open or closed; otherwise return #f.

Methods: configuration

Method on <textual-output-port>: () set-non-blocking-mode this
Method on <textual-output-port>: () unset-non-blocking-mode this

Apply port-set-non-blocking-mode! or port-unset-non-blocking-mode! to the argument and return its return value.

Method on <textual-output-port>: <boolean> non-blocking-mode? this

Apply port-in-non-blocking-mode? to the argument and return its return value.

Methods: position

Method on <textual-output-port>: <boolean> has-position? this

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

Method on <textual-output-port>: <boolean> has-set-position? this

Apply port-has-set-port-position!? to the argument and return its return value.

Method on <textual-output-port>: <non-negative-exact-integer> position this
Method on <textual-output-port>: () position this {pos <non-negative-exact-integer>}

Apply port-position or set-port-position! to the arguments and return its return value.

Methods: inspection

Method on <textual-output-port>: <string> id this

Apply port-id! to the argument and return its return value.

Method on <textual-output-port>: (or <false> <file-descriptor>) fd this

Apply port-fd to the argument and return its return value.

Method on <textual-output-port>: <gensym> uid this

Apply port-uid to the argument and return its return value.

Method on <textual-output-port>: () dump-status this

Apply port-dump-status to the argument and return its return value.

Method on <textual-output-port>: (or <transcoder> <false>) transcoder this

Apply port-transcoder to the argument and return its return value.

Methods: properties

Method on <textual-output-port>: () putprop this {key <symbol>} value

Apply port-putprop to the arguments and return its return value.

Method on <textual-output-port>: <top> getprop this {key <symbol>}

Apply port-getprop to the arguments and return its return value.

Method on <textual-output-port>: () remprop this {key <symbol>}

Apply port-remprop to the arguments and return its return value.

Method on <textual-output-port>: (alist <symbol> <top>) property-list this

Apply port-property-list to the arguments and return its return value.

Methods: miscellaneous

Method on <textual-output-port>: () close this

Apply port-close to the argument.

Method on <textual-output-port>: <boolean> reset this

Apply reset-input-port! or reset-output-port! to the argument.

Methods: output ports

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

Apply flush-output-port to the instance.


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