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

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

unix.superglobalmegacorp.com

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