Query: ipc
OS: mojave
Section: 3head
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ipc.h(3HEAD) Headers ipc.h(3HEAD)NAMEipc.h, ipc - XSI interprocess communication access structureSYNOPSIS#include <sys/ipc.h>DESCRIPTIONThe <sys/ipc.h> header is used by three mechanisms for interprocess communication (IPC): messages, semaphores, and shared memory. All use a common structure type, ipc_perm, to pass information used in determining permission to perform an IPC operation. The ipc_perm structure contains the following members: uid_t uid /* owner's user ID */ gid_t gid /* owner's group ID */ uid_t cuid /* creator's user ID */ gid_t cgid /* creator's group ID */ mode_t mode /* read/write permission The uid_t, gid_t, mode_t, and key_t types are defined as described in <sys/types.h>. See types.h(3HEAD). Definitions are provided for the constants listed below. Mode bits: IPC_CREAT Create entry if key does not exist. IPC_EXCL Fail if key exists. IPC_NOWAIT Error if request must wait. Keys: IPC_PRIVATE Private key. Control commands: IPC_RMID Remove identifier. IPC_SET Set options. IPC_STAT Get options.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+SEE ALSOftok(3C), types.h(3HEAD), attributes(5), standards(5) SunOS 5.10 10 Sep 2004 ipc.h(3HEAD)
Related Man Pages |
---|
sem.h(3head) - sunos |
sem(3head) - sunos |
shm.h(3head) - sunos |
sem.h(3head) - opensolaris |
ipc.h(3head) - mojave |
Similar Topics in the Unix Linux Community |
---|
forks, ipc, fifos, update issues... |
Posix vs System V IPC quesions |
retrieve value from a file |
C program using IPC (inter process communication) |
An alternative to IPC mechanism |