xref: /third_party/musl/libc-test/src/api/sys_ipc.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/musl/libc-test/src/api/
1570af302Sopenharmony_ci#include <sys/ipc.h>
2570af302Sopenharmony_ci#define T(t) (t*)0;
3570af302Sopenharmony_ci#define F(t,n) {t *y = &x.n;}
4570af302Sopenharmony_ci#define C(n) switch(n){case n:;}
5570af302Sopenharmony_cistatic void f()
6570af302Sopenharmony_ci{
7570af302Sopenharmony_ciT(uid_t)
8570af302Sopenharmony_ciT(gid_t)
9570af302Sopenharmony_ciT(mode_t)
10570af302Sopenharmony_ciT(key_t)
11570af302Sopenharmony_ci{
12570af302Sopenharmony_cistruct ipc_perm x;
13570af302Sopenharmony_ciF(uid_t,uid)
14570af302Sopenharmony_ciF(gid_t,gid)
15570af302Sopenharmony_ciF(uid_t,cuid)
16570af302Sopenharmony_ciF(gid_t,cgid)
17570af302Sopenharmony_ciF(mode_t, mode)
18570af302Sopenharmony_ci}
19570af302Sopenharmony_ciC(IPC_CREAT)
20570af302Sopenharmony_ciC(IPC_EXCL)
21570af302Sopenharmony_ciC(IPC_NOWAIT)
22570af302Sopenharmony_ciC(IPC_PRIVATE)
23570af302Sopenharmony_ciC(IPC_RMID)
24570af302Sopenharmony_ciC(IPC_SET)
25570af302Sopenharmony_ciC(IPC_STAT)
26570af302Sopenharmony_ci{key_t(*p)(const char*,int) = ftok;}
27570af302Sopenharmony_ci}
28

Indexes created Thu Nov 07 10:32:03 CST 2024