26 lines
691 B
TOML
26 lines
691 B
TOML
# POSIX header spec: https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_uio.h.html
|
|
#
|
|
# Spec quotations relating to includes:
|
|
# - "The <sys/uio.h> header shall define the ssize_t and size_t types as described in <sys/types.h>."
|
|
#
|
|
# bits/iovec.h brings in size_t
|
|
sys_includes = []
|
|
after_includes = """
|
|
#include <bits/ssize-t.h> // for ssize_t from sys/types.h
|
|
#include <bits/iovec.h> // for iovec
|
|
|
|
// for Non-POSIX functions preadv and pwritev
|
|
#include <bits/off-t.h> // for off_t from sys/types.h
|
|
"""
|
|
include_guard = "_RELIBC_SYS_UIO_H"
|
|
language = "C"
|
|
style = "Tag"
|
|
no_includes = true
|
|
cpp_compat = true
|
|
|
|
[enum]
|
|
prefix_with_name = true
|
|
|
|
[export.rename]
|
|
"iovec" = "struct iovec"
|