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
24 lines
429 B
YAML
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 *
|