Files
RedBear-OS/src/header/_aio/cbindgen.toml
T
2026-07-04 17:16:08 +01:00

27 lines
1.2 KiB
TOML

# POSIX header spec: https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/aio.h.html
#
# Spec quotations relating to includes:
# - "The <aio.h> header shall define the off_t, pthread_attr_t, size_t, and ssize_t types as described in <sys/types.h>."
# - "The <aio.h> header shall define the struct timespec structure as described in <time.h>."
# - "The <aio.h> header shall define the sigevent structure and sigval union as described in <signal.h>."
# - "Inclusion of the <aio.h> header may make visible symbols defined in the headers <fcntl.h>, <signal.h>, and <time.h>."
#
# signal.h brings in sigevent and sigval
# signal.h brings in bits/timespec.h for timespec from time.h
# signal.h brings in bits/pthread-t.h bringing in pthread_t from sys/types.h
# signal.h brings in bits/pthreadattr-t.h bringing in pthread_attr_t from sys/types.h
# signal.h brings in size_t from sys/types.h
sys_includes = ["signal.h"]
after_includes = """
#include <bits/off-t.h> // for off_t from sys/types.h
#include <bits/ssize-t.h> // for ssize_t from sys/types.h
"""
include_guard = "_RELIBC_AIO_H"
language = "C"
style = "Tag"
no_includes = true
cpp_compat = true
[enum]
prefix_with_name = true