Files
Jeff Bailey 8ac51bce5a [libc][NFC] Lowercase standard identifiers in YAML files (#198854)
Update YAML files to use lowercase identifiers for standards.

In header.py, canonical identifiers for standards are explicitly defined
in lowercase and mapped to their pretty names for display. This change
ensures that all YAML files use the lowercase identifiers (posix, linux,
bsd, gnu) expected by the header generation tool.

Assisted-by: Automated tooling, human reviewed.
2026-05-21 06:48:03 +01:00

117 lines
2.6 KiB
YAML

header: signal.h
standards:
- stdc
macros:
- macro_name: SIGABRT
macro_header: signal-macros.h
- macro_name: SIGFPE
macro_header: signal-macros.h
- macro_name: SIGILL
macro_header: signal-macros.h
- macro_name: SIGINT
macro_header: signal-macros.h
- macro_name: SIGSEGV
macro_header: signal-macros.h
- macro_name: SIGTERM
macro_header: signal-macros.h
- macro_name: SIG_ERR
macro_header: signal-macros.h
- macro_name: SIG_DFL
macro_header: signal-macros.h
- macro_name: SIG_IGN
macro_header: signal-macros.h
types:
- type_name: pid_t
- type_name: sig_atomic_t
- type_name: sighandler_t
- type_name: siginfo_t
- type_name: sigset_t
- type_name: stack_t
- type_name: struct_sigaction
- type_name: union_sigval
enums: []
objects: []
functions:
- name: kill
standards:
- posix
return_type: int
arguments:
- type: pid_t
- type: int
- name: raise
standards:
- stdc
return_type: int
arguments:
- type: int
- name: sigaction
standards:
- posix
return_type: int
arguments:
- type: int
- type: const struct sigaction *__restrict
- type: struct sigaction *__restrict
- name: sigaddset
standards:
- posix
return_type: int
arguments:
- type: sigset_t *
- type: int
- name: sigaltstack
standards:
- posix
return_type: int
arguments:
- type: const stack_t *__restrict
- type: stack_t *__restrict
- name: sigdelset
standards:
- posix
return_type: int
arguments:
- type: sigset_t *
- type: int
- name: sigemptyset
standards:
- posix
return_type: int
arguments:
- type: sigset_t *
- name: sigfillset
standards:
- posix
return_type: int
arguments:
- type: sigset_t *
- name: signal
standards:
- stdc
# May the Geneva Convention have mercy on my soul... Why this insanity?
# Well: signal returns a function pointer to a function with no return
# value and which accepts an int. The parameter list appears on the far
# right of the declaration. i.e.
# void (*signal(int, void (*)(int)))(int);
return_type: void (*
arguments:
- type: int
- type: void (*)(int)))(int
- name: sigprocmask
standards:
- posix
return_type: int
arguments:
- type: int
- type: const sigset_t *__restrict
- type: sigset_t *__restrict
- name: pthread_sigmask
standards:
- posix
return_type: int
arguments:
- type: int
- type: const sigset_t *__restrict
- type: sigset_t *__restrict