Annotation of coherent/a/usr/include/sys/ipc.h, revision 1.1.1.1

1.1       root        1: /* (-lgl
                      2:  *     COHERENT Version 3.0
                      3:  *     Copyright (c) 1982, 1990 by Mark Williams Company.
                      4:  *     All rights reserved. May not be copied without permission.
                      5:  -lgl) */
                      6: #ifndef IPC_H
                      7: #define        IPC_H
                      8: /*
                      9:  * Inter Process Communication: Common Declarations.
                     10:  */
                     11: typedef long key_t;
                     12: 
                     13: /*
                     14: ** Common IPC Access Structure
                     15: */
                     16: 
                     17: struct ipc_perm {
                     18: 
                     19:        unsigned short  uid;            /* owner's user id */
                     20:        unsigned short  gid;            /* owner's group id */
                     21:        unsigned short  cuid;           /* creator's user id */
                     22:        unsigned short  cgid;           /* creator's group id */
                     23:        unsigned short  mode;           /* access modes */
                     24:        unsigned short  seq;            /* slot usage sequence number */
                     25:        key_t           key;            /* key */
                     26: };
                     27: 
                     28: /*
                     29: ** IPC Mode bits.
                     30: */
                     31: 
                     32: #define        IPC_ALLOC       0100000         /* entry currently allocated */
                     33: #define        IPC_CREAT       0001000         /* create entry if key doesn't exist */
                     34: #define        IPC_EXCL        0002000         /* fail if key exists */
                     35: #define        IPC_NOWAIT      0004000         /* error if request must wait */
                     36: 
                     37: /*
                     38: ** IPC Keys.
                     39: */
                     40: 
                     41: #define IPC_PRIVATE    ((key_t)0)
                     42: 
                     43: /*
                     44: ** IPC Control Commands.
                     45: */
                     46: 
                     47: #define        IPC_RMID        0               /* remove identifier */
                     48: #define        IPC_SET         1               /* set options */
                     49: #define        IPC_STAT        2               /* get options */
                     50: 
                     51: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.