Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ftok(3C)

types(5)

ipc(5)                                                               ipc(5)

NAME
     ipc - interprocess communication access structure

SYNOPSIS
     #include <sys/ipc.h>

DESCRIPTION
     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, ipcperm to pass information used in determin-
     ing permission to perform an IPC operation.

     The structure ipcperm contains the following members:

     uidt   uid         owner's user ID

     gidt   gid         owner's group ID

     uidt   cuid        creator's user ID

     gidt   cgid        creator's group ID

     modet  mode        read/write permission

     The uidt, gidt, modet and keyt types are defined as described in
     <sys/types.h>.

     Definitions are given for the following constants:

     Mode bits:

     IPCCREAT           Create entry if key does not exist.

     IPCEXCL            Fail if key exists.

     IPCNOWAIT          Error if request must wait.

     Keys:

     IPCPRIVATE         Private key.

     Control Commands:

     IPCRMID            Remove identifier.

     IPCSET             Set options.

     IPCSTAT            Get options.







Page 1                       Reliant UNIX 5.44                Printed 11/98

ipc(5)                                                               ipc(5)

     The following is declared as a function and may also be defined as a
     macro:

     keyt  ftok(const char *path, int id);

SEE ALSO
     ftok(3C), types(5).















































Page 2                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026