summaryrefslogtreecommitdiff
path: root/libc/include/sys
diff options
context:
space:
mode:
authorSiva Chandra Reddy <sivachandra@google.com>2022-09-15 22:22:59 +0000
committerSiva Chandra Reddy <sivachandra@google.com>2022-09-16 20:50:28 +0000
commitf5cbbb998826bc84cbebd12f890622b3ec3184fe (patch)
tree9c1c3d7db66ec28f2cf162a01ac12936840b0821 /libc/include/sys
parentc2cf93c1a9f1b8c5b886bb8847ac803d4c053dcf (diff)
[libc] Add implementation of POSIX setrlimit and getrlimit functions.
Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D134016
Diffstat (limited to 'libc/include/sys')
-rw-r--r--libc/include/sys/resource.h.def18
1 files changed, 18 insertions, 0 deletions
diff --git a/libc/include/sys/resource.h.def b/libc/include/sys/resource.h.def
new file mode 100644
index 000000000000..31132d3b2608
--- /dev/null
+++ b/libc/include/sys/resource.h.def
@@ -0,0 +1,18 @@
+//===-- POSIX header resource.h -------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_SYS_RESOURCE_H
+#define LLVM_LIBC_SYS_RESOURCE_H
+
+#include <__llvm-libc-common.h>
+
+#include <llvm-libc-macros/sys-resource-macros.h>
+
+%%public_api()
+
+#endif // LLVM_LIBC_SYS_RESOURCE_H