io.backend.unix vocabulary
Factor handbook > Vocabulary index


Summary
Non-blocking I/O and sockets on Unix-like systems

Meta-data
Authors:Slava Pestov
Platforms:unix


Words

Tuple classes
ClassSuperclassSlots
fd disposablefd
io-timeout tuple
mx-port portmx
not-a-buffered-port tupleport
stdin disposablecontrol size data


Generic words
WordStack effect
handle-fd( handle -- fd )


Symbol words
dispatch-signal-hook


Ordinary words
WordStack effect
<fd>( n -- fd )
<mx-port>( mx -- port )
<stdin>( -- stdin )
?flag( n mask symbol -- n )
check-buffered-port( port -- port )
control-write-fd( -- fd )
data-read-fd( -- fd )
file-mode( -- value )
init-fd( fd -- fd )
io-timeout( -- * )
multiplexer-error( n -- n )
not-a-buffered-port( port -- * )
refill-stdin( buffer stdin size -- )
signal-pipe-fd( -- n )
signal-pipe-loop( port -- )
size-read-fd( -- fd )
start-signal-pipe-thread( -- )
wait-for-port( port event -- )
wait-for-stdin( stdin -- size )


Class predicate words
WordStack effect
fd?( object -- ? )
io-timeout?( object -- ? )
mx-port?( object -- ? )
not-a-buffered-port?( object -- ? )
stdin?( object -- ? )


Files


Children from resource:basis
VocabularySummary
io.backend.unix.linuxio.backend.unix.linux vocabulary
io.backend.unix.macosxio.backend.unix.macosx vocabulary
io.backend.unix.multiplexersGeneric protocol for Unix I/O multiplexers