ipc_perm Struct Reference

#include <stdapis/sys/ipc.h>

struct ipc_perm
Public Attributes
unsigned shortcgid
unsigned shortcuid
unsigned shortgid
key_t key
unsigned shortmode
unsigned shortseq
unsigned shortuid

Detailed Description

To store information needed in determining permissions to perform an ipc operation.

Member Attribute Documentation

cgid

unsigned shortcgid

creator group id

cuid

unsigned shortcuid

creator user id

gid

unsigned shortgid

group id

key

key_t key

user specified msg or sem or shm key

mode

unsigned shortmode

rw permission

seq

unsigned shortseq

sequence X (to generate unique ipcid)

uid

unsigned shortuid

user id