Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

36 lines
414 B
C

// sys/ipc.h
#ifndef sys_ipc_h
#define sys_ipc_h
#include <sys/sys_types.h>
#include <sys/stat.h>
#include <memory.h>
#include "../../portable/stub.h"
struct ipc_perm
{ uid_t uid;
gid_t gid;
uid_t cuid;
gid_t cgid;
mode_t mode;
};
enum
{ IPC_CREAT,
IPC_EXCL,
IPC_NOWAIT,
IPC_PRIVATE,
IPC_RMID,
IPC_SET,
IPC_STAT
};
inline
key_t ftok(const char *pathname, int proj_id)
{ STUB_NEG(ftok);
}
#endif