|
standard/sigpending(2) -- return set of signals pending for thread (POSIX)
|
sigpending returns the set of signals pending for the calling thread (i.e., blocked from delivery) in the space pointed to by maskptr. Routines described in sigsetops(3) are used to examine the returned signal set. sigpending will fail if: [EFAULT] maskptr points to memory that is not a part of process's valid address space. |
standard/sigprocmask(2) -- alter and return previous state of the set of blocked signals (POSIX)
|
sigprocmask manipulates the set of signals which are blocked from delivery to the thread. A non-NULL set specifies the set of signals to use in modifying the currently-active set, and the incoming signals may be added to, deleted from, or completely replace the active set, as specified by the operation parameter, which may have the following values (as defined in ): SIG_NOP Do not alter current signal mask SIG_BLOCK Add specified signals to those in current mask SIG_UNBLOCK Remove the ... |
|
standard/sigreturn(2) -- returns from a signal handler.
|
Can only be called from within the kernel. The sigreturn system call is used by the kernel to return from signal handlers. It restores the context of the process which received the signal. The general behaviour of this system call is very similar to longjmp(2). |
standard/sigsend(2) -- send a signal to a process or a group of processes
|
sigsend sends a signal to the process or group of processes specified by id and idtype. The signal to be sent is specified by sig and is either zero or one of the values listed in signal(5). If sig is zero (the null signal), error checking is performed but no signal is actually sent. This value can be used to check the validity of id and idtype. In order to send the signal to the target process (pid), the sending process must have permission to do so, subje... |
standard/sigset(2) -- signal management (System V)
|
These functions provide signal management for application processes. sigset specifies the system signal action to be taken upon receipt of signal sig. disp specifies the signal's disposition, which may be SIG_DFL, SIG_IGN, or the address of a signal handler. If disp is the address of a signal handler, the system adds sig to the calling process's signal mask before executing the signal handler; when the signal handler returns, the system res... |
standard/sigstack(2) -- set and/or get signal stack context
|
Sigstack allows users to define an alternate stack on which signals are to be processed. If ss is non-zero, it specifies a signal stack on which to deliver signals and tells the system if the process is currently executing on that stack. When a signal's action indicates its handler should execute on the signal stack (specified with a sigvec(3b) call), the system checks to see if the process is currently executing on that stack. If the process is not currently executing on the signal stack, the ... |
standard/sigsuspend(2) -- atomically release blocked signals and wait for interrupt (POSIX)
|
sigsuspend replaces the current thread's set of masked signals with the set pointed to by maskptr 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. If the action is to terminate the process then sigsuspend will never return. If the action is to execute a signal-catching function, then sigsuspend will return after the signal-catching functions returns, with the signal mask restored to the set that exi... |
standard/socket(2) -- create an endpoint for communication
|
Socket creates an endpoint for communication and returns a descriptor. The domain parameter specifies a communications domain within which communication will take place; this selects the protocol family which should be used. The protocol family generally is the same as the address family for the addresses supplied in later operations on the socket. These families are defined in the include file . The currently understood formats are: PF_INET (DARPA Internet protocols) PF_RAW (Link-... |
standard/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 the new sockets are returned in sv[0] and sv[1]. The two sockets are indistinguishable. |
standard/sproc(2) -- create a new share group process
|
The sproc and sprocsp system calls are a variant of the standard fork(2) call. Like fork, the sproc calls create a new process that is a clone of the calling process. The difference is that after an sproc call, the new child process shares the virtual address space of the parent process (assuming that this sharing option is selected, as described below), rather than simply being a copy of the parent. The pa... |
standard/sprofil(2) -- execution time profile for disjoint text spaces
|
sprofil provides CPU-use statistics by profiling the amount of CPU time expended by a program in disjoint text spaces. This is useful if you need to profile programs using shared libraries or profile an address space using different granularities for different sections of text. sprofil generates the statistics by creating an execution histogram for a current process. The histogram is defined for a list of regions of program code to be profiled specified by members of the profp array: profp[0], p... |
standard/sqrt(2) -- single and double precision sqrt function.
|
These single/double precision routines listed above are available in libc. These should not be confused with the standard math library square root functions [see sqrt (3M)]. If v is a negative, the sqrt functions will return a NaN, but won't set the errno value. This is done since the ABI doesn't specify a errno value if the v is negative. |
standard/stat(2) -- get file status
|
The only difference between the *stat and the *stat64 calls is that the *stat64 calls return a stat64 structure, with three fields increased in size to allow for larger files and filesystems: st_ino, st_size, and st_blocks are all 64-bit values. NOTE: All programs compiled either -n32 or -64 get the stat64 versions of the stat system call, even whe... |
standard/stat64(2) -- get file status
|
The only difference between the *stat and the *stat64 calls is that the *stat64 calls return a stat64 structure, with three fields increased in size to allow for larger files and filesystems: st_ino, st_size, and st_blocks are all 64-bit values. NOTE: All programs compiled either -n32 or -64 get the stat64 versions of the stat system call, even whe... |
standard/statfs(2) -- get file system information
|
statfs returns a ``generic superblock'' describing a file system. It can be used to acquire information about mounted as well as unmounted file systems, and usage is slightly different in the two cases. In all cases, buf is a pointer to a structure (described below) which will be filled by the system call, and len is the number of bytes of information which the system should return in the structure. Len must be no greater than sizeof (struct statfs) and ordinarily it will contain exactly that ... |