|
chmod(2) -- change mode of file
|
The function chmod() sets the file permission bits of the file specified by the pathname path to mode. fchmod() sets the permission bits of the specified file descriptor fd. chmod() verifies that the ... |
chown(2) -- change owner and group of a file or link
|
The owner ID and group ID of the file (or link) named by path or referenced by fd is changed as specified by the arguments owner and group. The owner of a file may change the group to a group of which... |
|
chroot(2) -- change root directory
|
dirname is the address of the pathname of a directory, terminated by an ASCII NUL. chroot() causes dirname to become the root directory, that is, the starting point for path searches of pathnames begi... |
clock_getres(2) -- get/set/calibrate date and time
|
The clock_gettime() and clock_settime() allow the calling process to retrieve or set the value used by a clock which is specified by clock_id. clock_id can be one of four values: CLOCK_REALTIME for ti... |
clock_gettime(2) -- get/set/calibrate date and time
|
The clock_gettime() and clock_settime() allow the calling process to retrieve or set the value used by a clock which is specified by clock_id. clock_id can be one of four values: CLOCK_REALTIME for ti... |
clock_settime(2) -- get/set/calibrate date and time
|
The clock_gettime() and clock_settime() allow the calling process to retrieve or set the value used by a clock which is specified by clock_id. clock_id can be one of four values: CLOCK_REALTIME for ti... |
close(2) -- delete a descriptor
|
The close() call deletes a descriptor from the per-process object reference table. If this is the last reference to the underlying object, the object will be deactivated. For example, on the last clos... |
closefrom(2) -- delete many descriptors
|
The closefrom() call deletes all descriptors numbered fd and higher from the per-process file descriptor table. It is effectively the same as calling close(2) on each descriptor. |
connect(2) -- initiate a connection on a socket
|
The parameter s is a socket. If it is of type SOCK_DGRAM, this call specifies the peer with which the socket is to be associated; this address is that to which datagrams are to be sent, and the only a... |
alpha/dense_base(2) -- Alpha devices I/O ports and memory access functions
|
The functions in libalpha give userland programs access to the I/O ports on the OpenBSD/alpha platform. The in*() functions return data read from the specified I/O port. The out*() functions write dat... |
dup(2) -- duplicate an existing file descriptor
|
dup() duplicates an existing object descriptor and returns its value to the calling process (newd = dup(oldd)). The argument oldd is a small non-negative integer index in the per-process descriptor ta... |
dup2(2) -- duplicate an existing file descriptor
|
dup() duplicates an existing object descriptor and returns its value to the calling process (newd = dup(oldd)). The argument oldd is a small non-negative integer index in the per-process descriptor ta... |
errno(2) -- introduction to system calls and error numbers
|
The manual pages in section 2 provide an overview of the system calls, their error returns, and other common definitions and concepts. |
exect(2) -- execute a file
|
execve() transforms the calling process into a new process. The new process is constructed from an ordinary file, whose name is pointed to by path, called the new process file. This file is either an ... |
execve(2) -- execute a file
|
execve() transforms the calling process into a new process. The new process is constructed from an ordinary file, whose name is pointed to by path, called the new process file. This file is either an ... |