|
bind(2) -- bind an address to a socket
|
The bind() system call assigns an address to an unbound socket. When a socket is created with socket(), it exists in an address space (address family) but has no address assigned. bind() causes the socket whose descriptor is s to become bound to the address specified in the socket address structure pointed to by addr. addrlen must specify the size of the address structure. Since the size of the so... |
brk(2) -- change data segment space allocation
|
brk() and sbrk() are used to change dynamically the amount of space allocated for the calling process's data segment; see exec(2). The change is made by resetting the process's break value and allocating the appropriate amount of space. The break value is the address of the first location beyond the end of the data segment. The amount of allocated space increases as the break value increases. Th... |
|
chdir(2) -- change working directory
|
chdir() and fchdir() cause a directory pointed to by path or fildes to become the current working directory, the starting point for path searches of path names not beginning with /. path points to the path name of a directory. fildes is an open file descriptor of a directory. For a directory to become the current working directory, a process must have execute (search) access to the directory. |
chmod(2) -- change file mode access permissions
|
The chmod() and fchmod() system calls set the access permission portion of the file's mode according to the bit pattern contained in mode. path points to a path name naming a file. fildes is a file descriptor. The following symbolic constants representing the access permission bits are defined with the indicated values in and are used to construct the mode argument. The value of mode... |
chown(2) -- change owner and group of a file
|
The chown() system call changes the user and group ownership of a file. path points to the path name of a file. chown() sets the owner ID and group ID of the file to the numeric values contained in owner and group respectively. A value of UID_NO_CHANGE or GID_NO_CHANGE can be specified in owner or group to leave unchanged the file's owner ID or group ID, respectively. Note that owner and group sh... |
chroot(2) -- change root directory
|
chroot() causes the named directory to become the root directory, the starting point for path searches for path names beginning with /. path points to a path name naming a directory. The user's working directory is unaffected by the chroot() system call. The effective user ID of the process must be a user having appropriate privileges to change the root directory. The .. entry in the root directo... |
clocks(2) -- clock operations
|
clock_settime() The clock_settime() function sets the specified clock, clock_id, to the value specified by tp. Time values that are between two consecutive non-negative integer multiples of the resolution of the specified clock are truncated down to the smaller multiple of the resolution. clock_gettime() The clock_gettime() function returns the current value tp for the specified clock, clock_id. c... |
clock_getres(2) -- clock operations
|
clock_settime() The clock_settime() function sets the specified clock, clock_id, to the value specified by tp. Time values that are between two consecutive non-negative integer multiples of the resolution of the specified clock are truncated down to the smaller multiple of the resolution. clock_gettime() The clock_gettime() function returns the current value tp for the specified clock, clock_id. c... |
clock_gettime(2) -- clock operations
|
clock_settime() The clock_settime() function sets the specified clock, clock_id, to the value specified by tp. Time values that are between two consecutive non-negative integer multiples of the resolution of the specified clock are truncated down to the smaller multiple of the resolution. clock_gettime() The clock_gettime() function returns the current value tp for the specified clock, clock_id. c... |
clock_settime(2) -- clock operations
|
clock_settime() The clock_settime() function sets the specified clock, clock_id, to the value specified by tp. Time values that are between two consecutive non-negative integer multiples of the resolution of the specified clock are truncated down to the smaller multiple of the resolution. clock_gettime() The clock_gettime() function returns the current value tp for the specified clock, clock_id. c... |
close(2) -- close a file descriptor
|
close() closes the file descriptor indicated by fildes. fildes is a file descriptor obtained from a creat(), open(), dup(), fcntl(), or pipe() system call. All associated file segments which have been locked by this process with the lockf() function are released (i.e., unlocked). |
connect(2) -- initiate a connection on a socket
|
The connect() function initiates a connection on a socket. s is a socket descriptor. addr is a pointer to a socket address structure containing the address of a remote socket to which a connection is to be established. addrlen is the size of this address structure. Since the size of the socket address structure varies among socket address families, the correct socket address structure should be us... |
CPU_IS_PA_R(2) -- get configurable system variables
|
The sysconf() system call provides a way for applications to determine the current value of a configurable limit or variable. The name argument represents the system variable being queried. The following table lists the configuration variable name, the associated value for the name argument that is used in the sysconf() call and the value returned: Variable Value for name Value Returned __________... |
crashconf(2) -- configure system crash dumps
|
crashconf() changes the current system crash dump configuration. The crash dump configuration consists of: + The crash dump device list. This list identifies all devices that can be used to store a crash dump. The devices are used in reverse order, last specified to first. + The included class list. This list identifies all system memory classes that must be included in any crash dump. + The exclu... |
creat(2) -- create a new file or rewrite an existing one
|
The creat() system call creates a new regular file or prepares to rewrite an existing file named by the path name pointed to by path. If the file exists, its length is truncated to 0, and its mode and owner are unchanged. Otherwise, the file's owner ID is set to the effective user ID of the process. If the set-group-ID bit of the parent directory is set, the file's group ID is set to the group I... |