io.ports vocabulary
Factor handbook > Vocabulary index


Documentation
Non-blocking I/O implementation

Meta-data
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
buffered-port portbuffer
input-port buffered-port
not-a-c-ptr tupleobject
output-port buffered-port
port disposablehandle timeout


Generic words
WordStack effect
(wait-to-read)( port -- )
(wait-to-write)( port -- )
can-seek-handle?( handle -- ? )
handle-length( handle -- n/f )
seek-handle( n seek-type handle -- )
shutdown( handle -- )
tell-handle( handle -- n )
underlying-handle( stream -- handle )
underlying-port( stream -- port )


Symbol words
default-buffer-size


Ordinary words
WordStack effect
<buffered-port>( handle class -- port )
<input-port>( handle -- input-port )
<output-port>( handle -- output-port )
<port>( handle class -- port )
check-c-ptr( c-ptr -- c-ptr )
not-a-c-ptr( object -- * )
wait-to-read( port -- eof? )
wait-to-write( len port -- )


Class predicate words
WordStack effect
buffered-port?( object -- ? )
input-port?( object -- ? )
not-a-c-ptr?( object -- ? )
output-port?( object -- ? )
port?( object -- ? )


Files


Children
VocabularySummary
io.ports.privateio.ports.private vocabulary