*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages              
Title
Content
Arch
Section
 
 shmget(2) -- get shared memory segment
    shmget() returns the shared memory identifier associated with key. A shared memory identifier and associated data structure and shared memory segment of size size bytes (see glossary(9)) are created for key if one of the following is true: + key is equal to IPC_PRIVATE. This call creates a new identifier, subject to available resources. The identifier will never be returned by another call to shmg...
 shmop(2) -- shared memory operations
    shmat() attaches the shared memory segment associated with the shared memory identifier specified by shmid to the data segment of the calling process. The segment is attached for reading if (shmflg & SHM_RDONLY) is "true"; otherwise, it is attached for reading and writing. It is not possible to attach a segment for write only. If the shared memory segment has never been attached to by any proces...
 shm_open(2) -- create/open a shared memory object
    The shm_open() system call establishes a connection between a shared memory object and a file descriptor. It creates an open file description that corresponds to the shared memory object and returns a file descriptor that refers to that open file description. This file descriptor (which is the lowest numbered file descriptor not currently open for that process) is used by other functions to refer ...
 shm_unlink(2) -- unlink a shared memory object
    The shm_unlink() system call removes the name of the shared memory object named by the string pointed to by name. If one or more references to the shared memory object exists when the object is unlinked, the name will be removed before shm_unlink() returns, but the removal of the memory object contents will be postponed until all open and map references to the shared memory object have been remove...
 shutdown(2) -- shut down a socket
    The shutdown() system call is used to shut down a socket. In the case of a full-duplex connection, shutdown() can be used to either partially or fully shut down the socket, depending upon the value of how. how Interpretation SHUT_RD or 0 Further receives are disallowed SHUT_WR or 1 Further sends are disallowed SHUT_RDWR or 2 Further sends and receives are disallowed The s parameter is a socket des...
 sigaction(2) -- examine and change signal action
    The sigaction() function allows the calling process to examine and/or specify the action to be associated with a specific signal. The argument sig specifies the signal; acceptable values are defined in . The structure sigaction, used to describe an action to be taken, is defined in the header to include at least the following members: Member Type Member Name Description void(*...
 sigaltstack(2) -- set and/or get signal alternate stack context.
    The sigaltstack() function allows a process to define and examine the state of an alternate stack for signal handlers. Signals that have been explicitly declared to execute on the alternate stack will be delivered on the alternate stack. If ss is not a null pointer, it points to a stack_t structure that specifies the alternate signal stack that will take effect upon return from sigaltstack(). The ...
 sigblock(2) -- block signals
    sigblock() causes the signals specified in mask to be added to the set of signals currently being blocked from delivery. Signal i is blocked if the i-th bit in mask is 1, as specified with the macro sigmask(i). It is not possible to block signals that cannot be ignored, as documented in i). It is not possible to block signals that cannot be ignored, as documented in ). It is not possible to block ...
 siginterrupt(2) -- allow signals to interrupt functions
    The siginterrupt() function is used to change the restart behaviour when a function is interrupted by the specified signal. The function siginterrupt(sig, flag) has an effect as if implemented as: siginterrupt(int sig, int flag) { int ret; struct sigaction act; (void) sigaction(sig, NULL, &act); if (flag) act.sa_flags &= ~SA_RESTART; else act.sa_flags |= SA_RESTART; ret = sigaction(sig, &act, NULL...
 signal(2) -- signal management
    The functions described in this reference page provide simplified signal management: + The signal() function chooses one of three ways in which receipt of the signal number sig is to be subsequently handled. + The sigset() function is used to modify signal dispositions. + The sighold() function adds sig to the calling process' signal mask. + The sigrelse() function removes sig from the calling pr...
 sigpending(2) -- examine pending signals
    sigpending() stores the set of signals that are blocked from delivery and are pending to the calling thread, at the location pointed to by set.
 sigprocmask(2) -- examine and change blocked signals
    The sigprocmask() function allows the calling thread to examine and/or change its signal mask. If the argument set is not a null pointer, it points to a set of signals to be used to change the currently blocked set. The argument how indicates the way in which the set is changed and consists of one of the following values: SIG_BLOCK The resulting set will be the union of the current set and the sig...
 sigqueue(2) -- queue a signal to a process
    The sigqueue() system call causes the signal specified by signo to be sent with the value specified by value to the process specified by pid. If signo is zero (the null signal), error checking is performed but no signal is actually sent. The null signal can be used to check the validity of pid. The conditions required for a process to have permission to queue a signal to another process are the sa...
 sigsend(2) -- send a signal to a process or a group of processes
    The sigsend() system call sends a signal to a process or a group of processes. The process or group of processes to which the signal is to be sent is specified by id and idtype. The signal to be sent is specified by sig and is either one from the list given in signal() (see signal(2)) or 0. If sig is equal to zero (the null signal), error checking is performed but no signal is actually sent. This ...
 sigsendset(2) -- send a signal to a process or a group of processes
    The sigsend() system call sends a signal to a process or a group of processes. The process or group of processes to which the signal is to be sent is specified by id and idtype. The signal to be sent is specified by sig and is either one from the list given in signal() (see signal(2)) or 0. If sig is equal to zero (the null signal), error checking is performed but no signal is actually sent. This ...
<<  [Prev]  1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  
22  23  24  25  [Next]  >>
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service