aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/sys/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/libc/sys/resource.h')
-rw-r--r--system/include/libc/sys/resource.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/system/include/libc/sys/resource.h b/system/include/libc/sys/resource.h
index fb5d10f2..37757e88 100644
--- a/system/include/libc/sys/resource.h
+++ b/system/include/libc/sys/resource.h
@@ -16,7 +16,14 @@ struct rusage {
int getrusage(int who, struct rusage *r_usage);
/* XXX Emscripten */
+#define RLIMIT_CORE 100
#define RLIMIT_CPU 1
+#define RLIMIT_DATA 2
+#define RLIMIT_FSIZE 3
+#define RLIMIT_NOFILE 4
+#define RLIMIT_STACK 5
+#define RLIMIT_AS 6
+
typedef unsigned rlim_t;
struct rlimit {
rlim_t rlim_cur;