ipc.h, ipc - XSI interprocess communication access structure
#include <sys/ipc.h>
The <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
IPC_EXCL
IPC_NOWAIT
Keys:
IPC_PRIVATE
Control commands:
IPC_RMID
IPC_SET
IPC_STAT
See attributes(5) for descriptions of the following attributes:
|
ftok(3C), types.h(3HEAD), attributes(5), standards(5)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |