unix.ffi vocabulary
Factor handbook > Vocabulary index


Summary
unix.ffi vocabulary

Meta-data
Authors:Doug Coleman
Platforms:unix


Words

Tuple classes
ClassSuperclassSlots
addrinfo struct
dirent struct
exit_status struct
group struct
iovec struct
passwd struct
protoent struct
servent struct
sockaddr-in struct
sockaddr-in6 struct
sockaddr-un struct
utimbuf struct
utmpx struct


Symbol words
sighandler_t


Ordinary words
WordStack effect
AF_INET( -- value )
AF_INET6( -- value )
AF_UNIX( -- value )
AF_UNSPEC( -- value )
AI_ADDRCONFIG( -- value )
AI_ALL( -- value )
AI_CANONIDN( -- value )
AI_CANONNAME( -- value )
AI_IDN( -- value )
AI_IDN_ALLOW_UNASSIGNED( -- value )
AI_IDN_USE_STD3_ASCII_RULES( -- value )
AI_NUMERICHOST( -- value )
AI_NUMERICSERV( -- value )
AI_PASSIVE( -- value )
AI_V4MAPPED( -- value )
DT_BLK( -- value )
DT_CHR( -- value )
DT_DIR( -- value )
DT_FIFO( -- value )
DT_LNK( -- value )
DT_REG( -- value )
DT_SOCK( -- value )
DT_UNKNOWN( -- value )
DT_WHT( -- value )
FD_CLOEXEC( -- value )
FD_SETSIZE( -- value )
F_OK( -- value )
F_SETFD( -- value )
F_SETFL( -- value )
IPPROTO_TCP( -- value )
IPPROTO_UDP( -- value )
MAP_FAILED( -- alien )
MAP_FILE( -- value )
MAP_PRIVATE( -- value )
MAP_SHARED( -- value )
MAXPATHLEN( -- value )
O_APPEND( -- value )
O_CREAT( -- value )
O_EXCL( -- value )
O_NDELAY( -- value )
O_NOCTTY( -- value )
O_NONBLOCK( -- value )
O_RDONLY( -- value )
O_RDWR( -- value )
O_TRUNC( -- value )
O_WRONLY( -- value )
PATH_MAX( -- value )
PF_INET( -- value )
PF_INET6( -- value )
PF_UNIX( -- value )
PF_UNSPEC( -- value )
PROT_EXEC( -- value )
PROT_NONE( -- value )
PROT_READ( -- value )
PROT_WRITE( -- value )
R_OK( -- value )
SEEK_CUR( -- value )
SEEK_END( -- value )
SEEK_SET( -- value )
SHUT_RD( -- value )
SHUT_RDWR( -- value )
SHUT_WR( -- value )
SIG_DFL( -- obj )
SIG_EFF( -- obj )
SIG_IGN( -- obj )
SOCK_DGRAM( -- value )
SOCK_RAW( -- value )
SOCK_STREAM( -- value )
SOL_SOCKET( -- value )
SO_BROADCAST( -- value )
SO_DEBUG( -- value )
SO_DONTROUTE( -- value )
SO_ERROR( -- value )
SO_KEEPALINE( -- value )
SO_OOBINLINE( -- value )
SO_RCVBUF( -- value )
SO_RCVTIMEO( -- value )
SO_REUSEADDR( -- value )
SO_SNDBUF( -- value )
SO_SNDTIMEO( -- value )
SO_TYPE( -- value )
W_OK( -- value )
X_OK( -- value )
__UT_HOSTSIZE( -- value )
__UT_LINESIZE( -- value )
__UT_NAMESIZE( -- value )
accept( s sockaddr socklen -- int )
access( path amode -- int )
bind( s name namelen -- int )
chdir( path -- int )
chmod( path mode -- int )
chown( path owner group -- int )
chroot( path -- int )
close( fd -- int )
closedir( dirp -- int )
connect( s name namelen -- int )
dup2( oldd newd -- int )
endgrent( -- )
endpwent( -- )
fchdir( fd -- int )
fchmod( fd mode -- int )
fchown( fd owner group -- int )
fcntl( fd cmd arg -- int )
fileno( stream -- int )
flock( fd operation -- int )
freeaddrinfo( ai -- )
ftruncate( fd length -- int )
futimes( id times -- int )
gai_strerror( ecode -- c-string )
getaddrinfo( hostname servname hints res -- int )
getcwd( buf size -- c-string )
getdtablesize( -- int )
getegid( -- gid_t )
getenv( name -- c-string )
geteuid( -- uid_t )
getgid( -- gid_t )
getgrent( -- group* )
getgrgid_r( gid grp buffer bufsize result -- int )
getgrnam_r( name grp buffer bufsize result -- int )
getgrouplist( name basegid groups ngroups -- int )
getgroups( gidsetlen gidset -- int )
gethostname( name len -- int )
getpeername( socket address address_len -- int )
getpgid( pid -- pid_t )
getpgrp( -- pid_t )
getpid( -- pid_t )
getpriority( which who -- int )
getprotobyname( name -- protoent* )
getpwent( -- passwd* )
getpwnam( login -- passwd* )
getpwnam_r( login pwd buffer bufsize result -- int )
getpwuid( uid -- passwd* )
getrlimit( resource rlp -- int )
getrusage( who r_usage -- int )
getservbyname( name prot -- servent* )
getservbyport( port prot -- servent* )
getsockname( socket address address_len -- int )
getsockopt( s level optname optval optlen -- int )
getuid( -- uid_t )
htonl( n -- uint )
htons( n -- ushort )
ioctl( fd request argp -- int )
isatty( fildes -- int )
killpg( pgrp sig -- int )
lchown( path owner group -- int )
link( path1 path2 -- int )
listen( s backlog -- int )
lseek( fildes offset whence -- off_t )
max-un-path( -- value )
mkdir( path mode -- int )
mkfifo( path mode -- int )
mmap( addr len prot flags fd offset -- void* )
munmap( addr len -- int )
ntohl( n -- uint )
ntohs( n -- ushort )
open( path flags prot -- int )
open64( path flags prot -- int )
opendir( path -- DIR* )
pclose( file -- int )
pipe( filedes -- int )
popen( command type -- void* )
read( fd buf nbytes -- ssize_t )
readdir( dirp -- dirent* )
readdir64( dirp -- dirent* )
readdir64_r( dirp entry result -- int )
readdir_r( dirp entry result -- int )
readlink( path buf bufsize -- ssize_t )
readv( fd iov iovcnt -- ssize_t )
recv( s buf nbytes flags -- ssize_t )
recvfrom( s buf nbytes flags from fromlen -- ssize_t )
rename( from to -- int )
rmdir( path -- int )
select( nfds readfds writefds exceptfds timeout -- int )
sendfile( out_fd in_fd offset count -- ssize_t )
sendto( s buf len flags to tolen -- ssize_t )
setegid( egid -- int )
setenv( name value overwrite -- int )
seteuid( euid -- int )
setgid( gid -- int )
setgroups( ngroups gidset -- int )
setpassent( stayopen -- )
setpgid( pid gid -- int )
setpriority( which who prio -- int )
setpwent( -- )
setregid( rgid egid -- int )
setreuid( ruid euid -- int )
setrlimit( resource rlp -- int )
setsid( -- pid_t )
setsockopt( s level optname optval optlen -- int )
setuid( uid -- int )
shutdown( fd how -- int )
signal( signum handler -- sighandler_t )
socket( domain type protocol -- int )
symlink( path1 path2 -- int )
truncate( path length -- int )
unlink( path -- int )
unsetenv( name -- int )
utime( path buf -- int )
utimes( path times -- int )
write( fd buf nbytes -- ssize_t )
writev( fds iov iovcnt -- ssize_t )


Class predicate words
WordStack effect
addrinfo?( object -- ? )
dirent?( object -- ? )
exit_status?( object -- ? )
group?( object -- ? )
iovec?( object -- ? )
passwd?( object -- ? )
protoent?( object -- ? )
servent?( object -- ? )
sockaddr-in6?( object -- ? )
sockaddr-in?( object -- ? )
sockaddr-un?( object -- ? )
utimbuf?( object -- ? )
utmpx?( object -- ? )


Files


Children from resource:basis
VocabularySummary
unix.ffi.linuxunix.ffi.linux vocabulary
unix.ffi.macosxunix.ffi.macosx vocabulary