summaryrefslogtreecommitdiff
path: root/libc/include/sys/resource.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/sys/resource.yaml')
-rw-r--r--libc/include/sys/resource.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/libc/include/sys/resource.yaml b/libc/include/sys/resource.yaml
new file mode 100644
index 000000000000..3652d6d490a4
--- /dev/null
+++ b/libc/include/sys/resource.yaml
@@ -0,0 +1,21 @@
+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: struct rlimit *
+ - name: setrlimit
+ standards:
+ - POSIX
+ return_type: int
+ arguments:
+ - type: const struct rlimit