Files
RedBear-OS/src/header/sched/cbindgen.toml
T

23 lines
785 B
TOML

# POSIX header spec: https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sched.h.html
#
# Spec quotations relating to includes:
# - "[PS] The <sched.h> header shall define the pid_t type as described in <sys/types.h>."
# - "[SS|TSP] The <sched.h> header shall define the time_t type as described in <sys/types.h>."
# - "The <sched.h> header shall define the timespec structure as described in <time.h>."
# - "Inclusion of the <sched.h> header may make visible all symbols from the <time.h> header."
sys_includes = ["sys/types.h"]
include_guard = "_RELIBC_SCHED_H"
after_includes = """
#include <bits/timespec.h> // for timespec
"""
language = "C"
style = "Both"
no_includes = true
cpp_compat = true
[enum]
prefix_with_name = true
[export.rename]
"timespec" = "struct timespec"