Files
RedBear-OS/src/header/sys_shm/cbindgen.toml
T
2026-05-21 08:50:15 +01:00

24 lines
828 B
TOML

# POSIX header spec: https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_shm.h.html
#
# Spec quotations relating to includes:
# - "The <sys/shm.h> header shall define the type intptr_t as described in <stdint.h>."
# - "The <sys/shm.h> header shall define the pid_t, size_t, and time_t types as described in <sys/types.h>."
# - "In addition, the <sys/shm.h> header shall include the <sys/ipc.h> header."
sys_includes = ["sys/ipc.h", "stdint.h"]
include_guard = "_RELIBC_SYS_SHM_H"
after_includes = """
#include <bits/pid-t.h> // for pid_t from sys/types.h
#include <bits/size-t.h> // for size_t from sys/types.h
#include <bits/time-t.h> // for time_t from sys/types.h
"""
language = "C"
style = "Tag"
no_includes = true
cpp_compat = true
[enum]
prefix_with_name = true
[export.rename]
"ipc_perm" = "struct ipc_perm"