Next: built-in ports labels binary, Previous: built-in ports labels output, Up: built-in ports labels [Contents][Index]
Label–type for all the input/output ports. Its parent is the type annotation:
(or <binary-input/output-port> <textual-input/output-port>)
<input/output-port>
: <input/output-port> type-constructor portValidate port as instance of <input/output-port>
and return it.
<input/output-port>
: <boolean> type-predicate objThe type predicate is built combining the parent types’ type predicates.
<input/output-port>
: <boolean> equality-predicate this {port <input/output-port>}The equality predicate is eq?
.
<input/output-port>
: <non-negative-fixnum> hash-function thisThe hash function is port-hash
.
<input/output-port>
: <boolean> open? this<input/output-port>
: <boolean> closed? thisReturn #t
if this is, respectively, open or closed; otherwise return #f
.
<input/output-port>
: () set-non-blocking-mode this<input/output-port>
: () unset-non-blocking-mode thisApply port-set-non-blocking-mode!
or port-unset-non-blocking-mode!
to the argument and
return its return value.
<input/output-port>
: <boolean> non-blocking-mode? thisApply port-in-non-blocking-mode?
to the argument and return its return value.
<input/output-port>
: <boolean> has-position? thisApply port-has-port-position?
to the argument and return its return value.
<input/output-port>
: <boolean> has-set-position? thisApply port-has-set-port-position!?
to the argument and return its return value.
<input/output-port>
: <non-negative-exact-integer> position this<input/output-port>
: () position this {pos <non-negative-exact-integer>}Apply port-position
or set-port-position!
to the arguments and return its return
value.
<input/output-port>
: <string> id thisApply port-id!
to the argument and return its return value.
<input/output-port>
: (or <false> <file-descriptor>) fd thisApply port-fd
to the argument and return its return value.
<input/output-port>
: <gensym> uid thisApply port-uid
to the argument and return its return value.
<input/output-port>
: () dump-status thisApply port-dump-status
to the argument and return its return value.
<input/output-port>
: (or <transcoder> <false>) transcoder thisApply port-transcoder
to the argument and return its return value.
<input/output-port>
: () putprop this {key <symbol>} valueApply port-putprop
to the arguments and return its return value.
<input/output-port>
: <top> getprop this {key <symbol>}Apply port-getprop
to the arguments and return its return value.
<input/output-port>
: () remprop this {key <symbol>}Apply port-remprop
to the arguments and return its return value.
<input/output-port>
: (alist <symbol> <top>) property-list thisApply port-property-list
to the arguments and return its return value.
<input/output-port>
: () close thisApply port-close
to the argument.
<input/output-port>
: <boolean> reset thisApply reset-input-port!
or reset-output-port!
to the argument.
<input/output-port>
: <boolean> eof? thisApply port-eof?
to the instance and return its return value.
<input/output-port>
: () flush thisApply flush-output-port
to the instance.
Next: built-in ports labels binary, Previous: built-in ports labels output, Up: built-in ports labels [Contents][Index]