io.backend.unix vocabulary
Factor documentation > 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
stdin disposablecontrol size data


Generic words
WordStack effect
drain( port handle -- event/f )
handle-fd( handle -- fd )
refill( port handle -- event/f )


Symbol words
+input+
+output+
+retry+
dispatch-signal-hook


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


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


Files
resource:basis/io/backend/unix/unix.factor
resource:basis/io/backend/unix/unix-docs.factor
resource:basis/io/backend/unix/unix-tests.factor


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