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

29 lines
702 B
TOML

# POSIX header spec: https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/time.h.html
#
# This type is split out to avoid including all of time.h in the other headers.
#
# POSIX headers that require timespec:
# - aio.h (all functions currently unimplemented but timespec imported)
# - poll.h
# - sched.h
# - semaphore.h
# - signal.h
# - sys/select.h (not currently imported, needed for pselect, no TODO)
# - sys/stat.h
# - sys/time.h
# - time.h (where it should be defined)
after_includes = """
#include <bits/time-t.h>
"""
include_guard = "_RELIBC_BITS_TIMESPEC_H"
language = "C"
style = "Tag"
no_includes = true
cpp_compat = true
[enum]
prefix_with_name = true
[export]
include = ["timespec"]