|
socketpair(2) -- create a pair of connected sockets
|
The socketpair() call creates an unnamed pair of connected sockets in the specified domain d, of the specified type, and using the optionally specified protocol. The descriptors used in referencing th... |
stat(2) -- get file status
|
The stat() function obtains information about the file pointed to by path. Read, write or execute permission of the named file is not required, but all directories listed in the path name leading to t... |
|
statfs(2) -- get file system statistics
|
statfs() returns information about a mounted file system. path is the path name of any file within the mounted file system. buf is a pointer to a statfs structure defined as follows: typedef struct { ... |
swapctl(2) -- modify swap configuration
|
The swapctl function is used to add and delete swap devices, and modify their configuration. The cmd parameter specifies the operation to be performed. The arg and misc parameters have different meani... |
symlink(2) -- make symbolic link to a file
|
A symbolic link name2 is created to name1 (name2 is the name of the file created, name1 is the string used in creating the symbolic link). Either name may be an arbitrary path name; the files need nei... |
sync(2) -- synchronize disk block in-core status with that on disk
|
The sync() function forces a write of dirty (modified) buffers in the block buffer cache out to disk. The kernel keeps this information in core to reduce the number of disk I/O transfers required by t... |
sysarch(2) -- architecture-dependent system call
|
sysarch() performs the architecture-dependent function specified by number with the arguments specified by the args pointer. args is a pointer to a structure defining the actual arguments of the funct... |
syscall(2) -- indirect system call
|
syscall() performs the system call whose assembly language interface has the specified number with the specified arguments. Symbolic constants for system calls can be found in the header file |
truncate(2) -- truncate a file to a specified length
|
truncate() causes the file named by path or referenced by fd to have a size of length bytes. If the file previously was larger than this size, the extra data is discarded. If it was previously shorter... |
umask(2) -- set file creation mode mask
|
The umask() routine sets the process's file mode creation mask to numask and returns the previous value of the mask. The 9 low-order access permission bits of numask are used by system calls, includi... |
undelete(2) -- attempt to recover a deleted file
|
The undelete() function attempts to recover the deleted file named by path. Currently, this works only when the named object is a whiteout in a union filesystem. The system call removes the whiteout c... |
unlink(2) -- remove directory entry
|
The unlink() function removes the link named by path from its directory and decrements the link count of the file which was referenced by the link. If that decrement reduces the link count of the file... |
unmount(2) -- mount or dismount a file system
|
The mount() function grafts a file system object onto the system file tree at the point dir. The argument data describes the file system object to be mounted. The argument type tells the kernel how to... |
utimes(2) -- set file access and modification times
|
The access and modification times of the file named by path or referenced by fd are changed as specified by the argument times. If times is NULL, the access and modification times are set to the curre... |
utrace(2) -- insert user record to ktrace records
|
Adds a record to process trace with information supplied by user. The record is identified by label and contains len bytes from memory pointed to by addr. This call has only effect if the caller proce... |