|
sigstack(2) -- set and/or get alternate signal stack context
|
The sigstack() function allows the calling process to indicate to the system an area of its address space to be used for processing signals received by the process. The sigstack() function requires the application to have knowledge of the underlying system's stack architecture. To ensure portability, use sigaltstack() instead of sigstack() when writing or rewriting applications. If the ss argumen... |
sigsuspend(2) -- wait for a signal
|
The sigsuspend() function replaces the current signal mask of the calling thread with the set of signals pointed to by sigmask and then suspends the thread until delivery of a signal whose action is either to execute a signal-catching function or to terminate the process. This will not cause any other signals that may have been pending on the process to become pending on the thread. If the action ... |
|
sigtimedwait(2) -- synchronously accept a signal
|
The sigwait() function atomically selects and clears a pending signal from set and returns the signal number in the location pointed to by sig. If none of the signals in set is pending at the time of the call, the calling thread will be suspended until one or more signals become pending or the thread is interrupted by an unblocked, caught signal. The signals in set should be blocked at the time of... |
sigvector(2) -- software signal facilities
|
The system defines a set of signals that can be delivered to a process. The set of signals is defined in signal(5), along with the meaning and side effects of each signal. This manual entry, along with those for sigblock(2), sigsetmask(2), sigpause(3C), and sigspace(2), defines an alternate mechanism for handling these signals that ensures the delivery of signals and the integrity of signal handli... |
sigwait(2) -- synchronously accept a signal
|
The sigwait() function atomically selects and clears a pending signal from set and returns the signal number in the location pointed to by sig. If none of the signals in set is pending at the time of the call, the calling thread will be suspended until one or more signals become pending or the thread is interrupted by an unblocked, caught signal. The signals in set should be blocked at the time of... |
sigwaitinfo(2) -- synchronously accept a signal
|
The sigwait() function atomically selects and clears a pending signal from set and returns the signal number in the location pointed to by sig. If none of the signals in set is pending at the time of the call, the calling thread will be suspended until one or more signals become pending or the thread is interrupted by an unblocked, caught signal. The signals in set should be blocked at the time of... |
socket(2) -- create an endpoint for communication
|
The socket() system call creates an endpoint for communication and returns a descriptor. The socket descriptor returned is used in all subsequent socket-related system calls. The af parameter specifies an address family to be used to interpret addresses in later operations that specify the socket. These address families are defined in the include files and . The on... |
socketpair(2) -- create a pair of connected sockets
|
The socketpair() system call creates an unnamed pair of connected sockets and returns two file descriptors in sv[0] and sv[1]. The two sockets are indistinguishable. af specifies the address family. See socket(2). type specifies the semantics of communication for the socket. protocol specifies a particular protocol to be used. protocol can be specified as zero, which causes the system to choose a ... |
sprofil(2) -- execution time profile for disjointed text spaces
|
sprofil() controls profiling, by which the system maintains estimates of the amount of time the calling program spends executing at various places in its address space. It differs from its predecessor profil(2) in that it allows simultaneous profiling of many disjointed regions of memory. profp must point to an ordered array of prof structures. The prof structure is defined as: struct prof { void ... |
stat(2) -- get file status
|
The stat() function obtains information about the named file and writes it to the area pointed to by the buf argument. The path argument is a pointer to a path name of any file within the mounted file system. (All directories listed in the path name must be searchable). Read, write or execute permission of the named file is not required, but all directories listed in the pathname leading to all di... |
stat64(2) -- non-POSIX standard API interfaces to support large files
|
New API's to support large files in 32-bit applications. These API interfaces are not a part of the POSIX standard and may be removed in the future. creat64() The creat64() function returns a file descriptor which can be used to grow the file past 2 GB if desired. All other functional behaviors, returns, and errors are identical to creat(). fstat64() The fstat64() function is identical to fstat()... |
statfs(2) -- get file system statistics
|
statfs() returns status information for a mounted file system. fstatfs() returns similar information for an open file. The parameters for the statfs() and fstatfs() functions are as follows: path is a pointer to a path name of any file within the mounted file system. buf is a pointer to a statfs structure, which is where the file system status information is stored. fildes is a file descriptor for... |
statvfs(2) -- get file system information
|
statvfs() returns information about a mounted file system. fstatvfs() returns similar information about an open file. The parameters for the statvfs() and fstatvfs() functions are as follows: path is a pointer to a path name of any file within the mounted file system. buf is a pointer to a statvfs structure, which is where the file system status information is stored. fildes is a file descriptor f... |
statvfs64(2) -- non-POSIX standard API interfaces to support large files
|
New API's to support large files in 32-bit applications. These API interfaces are not a part of the POSIX standard and may be removed in the future. creat64() The creat64() function returns a file descriptor which can be used to grow the file past 2 GB if desired. All other functional behaviors, returns, and errors are identical to creat(). fstat64() The fstat64() function is identical to fstat()... |
stime(2) -- set time and date
|
The stime() system call sets the system time and date. tp points to the value of time as measured in seconds from 00:00:00 on January 1, 1970, Coordinated Universal Time (UTC). |