HP 3000 Manuals

sys/ipc.h [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation


MPE/iX Developer's Kit Reference Manual Volume II

sys/ipc.h 

Macros 

IPC_CREAT                 Create entry if key doesn't exist
IPC_EXCL                  Fail if key exists
IPC_NOWAIT                Error if request must wait
IPC_PRIVATE (key_t)0      Private key value
IPC_RMID                  Remove identifier
IPC_SET                   Set options
IPC_STAT                  Get options

Functions 

If __STDC__ is defined:

     extern int svipc_info( int, void *, void * );
     extern int svipc_control( int, void *, void * );

If __STDC__ is not defined:

     extern int svipc_info( );
     extern int svipc_control( );

Types 

     typedef long  key_t;

Structures 

Common IPC access structure:

     struct ipc_perm {

        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        */
        long    mode;                 /* access modes              */
        long    seq;                  /* slot usage sequence number*/
        key_t   key;                  /* key                       */

        };



MPE/iX 5.0 Documentation