Files
llvm-project/libc/include/sys/ipc.yaml
Pengxiang Huang 5b976c9301 [libc][sys] add header and functions for sys ipc (#182700)
Split from a larger change. This PR contains the base impl for sys ipc,
sys sem will come after this. @SchrodingerZhu

this PR implements for:
https://github.com/llvm/llvm-project/issues/182161

see the last PR for more detail:
https://github.com/llvm/llvm-project/pull/182683
2026-03-03 09:48:18 -05:00

52 lines
1.0 KiB
YAML

header: sys/ipc.h
standards:
- posix
- linux
macros:
- macro_name: IPC_PRIVATE
macro_header: sys-ipc-macros.h
standards:
- posix
- macro_name: IPC_CREAT
macro_header: sys-ipc-macros.h
standards:
- posix
- macro_name: IPC_EXCL
macro_header: sys-ipc-macros.h
standards:
- posix
- macro_name: IPC_NOWAIT
macro_header: sys-ipc-macros.h
standards:
- posix
- macro_name: IPC_RMID
macro_header: sys-ipc-macros.h
standards:
- posix
- macro_name: IPC_SET
macro_header: sys-ipc-macros.h
standards:
- posix
- macro_name: IPC_STAT
macro_header: sys-ipc-macros.h
standards:
- posix
- macro_name: IPC_INFO
macro_header: sys-ipc-macros.h
standards:
- linux
types:
- type_name: key_t
- type_name: uid_t
- type_name: gid_t
- type_name: mode_t
- type_name: struct_ipc_perm
functions:
- name: ftok
standards:
- posix
return_type: key_t
arguments:
- type: const char *
- type: int