Files
clang-p2996/libc/include/sys/resource.yaml
c8ef 5a8fe9e9a7 [libc] Revise the definition of {get, set}rlimit. (#124701)
Closes #124633.

Some parameter types in the definition of `{get, set}rlimit` currently
do not match the standard. This patch resolves the issue.
ref: https://man7.org/linux/man-pages/man2/getrlimit.2.html
2025-01-29 00:24:11 +08:00

24 lines
429 B
YAML

header: sys/resource.h
header_template: resource.h.def
macros: []
types:
- type_name: struct_rlimit
- type_name: rlim_t
enums: []
objects: []
functions:
- name: getrlimit
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: struct rlimit *
- name: setrlimit
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: const struct rlimit *