Parents: | unix |
Authors: | Doug Coleman |
Platforms: | unix |
Class | Superclass | Slots |
addrinfo | struct | |
dirent | struct | |
group | struct | |
iovec | struct | |
passwd | struct | |
protoent | struct | |
servent | struct | |
sf_hdtr | struct | |
sockaddr-in | struct | |
sockaddr-in6 | struct | |
sockaddr-un | struct | |
utimbuf | struct | |
utmpx | struct |
sighandler_t |
Word | Stack effect |
AF_INET | ( -- value ) |
AF_INET6 | ( -- value ) |
AF_UNIX | ( -- value ) |
AF_UNSPEC | ( -- value ) |
AI_ADDRCONFIG | ( -- value ) |
AI_ALL | ( -- value ) |
AI_CANONNAME | ( -- value ) |
AI_NUMERICHOST | ( -- 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_ACCEPTCONN | ( -- value ) |
SO_BROADCAST | ( -- value ) |
SO_DEBUG | ( -- value ) |
SO_DONTROUTE | ( -- value ) |
SO_ERROR | ( -- value ) |
SO_KEEPALIVE | ( -- value ) |
SO_OOBINLINE | ( -- value ) |
SO_RCVBUF | ( -- value ) |
SO_RCVLOWAT | ( -- value ) |
SO_RCVTIMEO | ( -- value ) |
SO_REUSEADDR | ( -- value ) |
SO_SNDBUF | ( -- value ) |
SO_SNDLOWAT | ( -- value ) |
SO_SNDTIMEO | ( -- value ) |
SO_TYPE | ( -- value ) |
W_OK | ( -- value ) |
XATTR_CREATE | ( -- value ) |
XATTR_FINDERINFO_NAME | ( -- value ) |
XATTR_MAXNAMELEN | ( -- value ) |
XATTR_MAXSIZE | ( -- value ) |
XATTR_NODEFAULT | ( -- value ) |
XATTR_NOFOLLOW | ( -- value ) |
XATTR_NOSECURITY | ( -- value ) |
XATTR_REPLACE | ( -- value ) |
XATTR_RESOURCEFORK_NAME | ( -- value ) |
XATTR_SHOWCOMPRESSION | ( -- value ) |
X_OK | ( -- value ) |
_UTX_HOSTSIZE | ( -- value ) |
_UTX_IDSIZE | ( -- value ) |
_UTX_LINESIZE | ( -- value ) |
_UTX_USERSIZE | ( -- value ) |
__DARWIN_MAXNAMELEN | ( -- value ) |
__DARWIN_MAXNAMELEN+1 | ( -- value ) |
__DARWIN_MAXPATHLEN | ( -- 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 ) |
fgetxattr | ( fd name value size position options -- ssize_t ) |
fileno | ( stream -- int ) |
flistxattr | ( fd namebuf size options -- ssize_t ) |
flock | ( fd operation -- int ) |
freeaddrinfo | ( ai -- ) |
fremovexattr | ( fd name options -- int ) |
fsetxattr | ( fd name value size position options -- int ) |
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 proto -- servent* ) |
getservbyport | ( port proto -- servent* ) |
getsockname | ( socket address address_len -- int ) |
getsockopt | ( s level optname optval optlen -- int ) |
getuid | ( -- uid_t ) |
getxattr | ( path name value size position options -- ssize_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 ) |
listxattr | ( path namebuf size options -- ssize_t ) |
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 ) |
opendir | ( path -- DIR* ) |
pclose | ( file -- int ) |
pipe | ( filedes -- int ) |
popen | ( command type -- void* ) |
read | ( fd buf nbytes -- ssize_t ) |
readdir | ( dirp -- dirent* ) |
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 ) |
removexattr | ( path name options -- int ) |
rename | ( from to -- int ) |
rmdir | ( path -- int ) |
select | ( nfds readfds writefds exceptfds timeout -- int ) |
sendfile | ( fd s offset len hdtr flags -- int ) |
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 ) |
setxattr | ( path name value size position options -- 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 ) |
Word | Stack effect |
addrinfo? | ( object -- ? ) |
dirent? | ( object -- ? ) |
group? | ( object -- ? ) |
iovec? | ( object -- ? ) |
passwd? | ( object -- ? ) |
protoent? | ( object -- ? ) |
servent? | ( object -- ? ) |
sf_hdtr? | ( object -- ? ) |
sockaddr-in6? | ( object -- ? ) |
sockaddr-in? | ( object -- ? ) |
sockaddr-un? | ( object -- ? ) |
utimbuf? | ( object -- ? ) |
utmpx? | ( object -- ? ) |
Vocabulary | Summary |
unix.ffi.bsd | *BSD/macOS support |
unix.ffi.freebsd | |
unix.ffi.linux | |
unix.ffi.macos |