~mdw
/
fwd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Consolidate all the external definitions into a single header.
[fwd]
/
rlimits.h
diff --git
a/rlimits.h
b/rlimits.h
index
d983fd7
..
23e6ecd
100644
(file)
--- a/
rlimits.h
+++ b/
rlimits.h
@@
-34,39
+34,54
@@
# define RLIMIT_NOFILE RLIMIT_OFILE
#endif
# define RLIMIT_NOFILE RLIMIT_OFILE
#endif
+#ifdef RLIMIT_AS
+ R(RLIMIT_AS, as)
+#endif
+#ifdef RLIMIT_CORE
+ R(RLIMIT_CORE, core)
+#endif
#ifdef RLIMIT_CPU
R(RLIMIT_CPU, cpu)
#endif
#ifdef RLIMIT_CPU
R(RLIMIT_CPU, cpu)
#endif
+#ifdef RLIMIT_DATA
+ R(RLIMIT_DATA, data)
+#endif
#ifdef RLIMIT_FSIZE
R(RLIMIT_FSIZE, fsize)
#endif
#ifdef RLIMIT_FSIZE
R(RLIMIT_FSIZE, fsize)
#endif
-#ifdef RLIMIT_
DATA
- R(RLIMIT_
DATA, data
)
+#ifdef RLIMIT_
LOCKS
+ R(RLIMIT_
LOCKS, locks
)
#endif
#endif
-#ifdef RLIMIT_
STA
CK
- R(RLIMIT_
STACK, sta
ck)
+#ifdef RLIMIT_
MEMLO
CK
+ R(RLIMIT_
MEMLOCK, memlo
ck)
#endif
#endif
-#ifdef RLIMIT_
COR
E
- R(RLIMIT_
CORE, cor
e)
+#ifdef RLIMIT_
MSGQUEU
E
+ R(RLIMIT_
MSGQUEUE, msgqueu
e)
#endif
#endif
-#ifdef RLIMIT_RSS
- R(RLIMIT_RSS, rss)
+#ifdef RLIMIT_NICE
+ R(RLIMIT_NICE, nice)
+#endif
+#ifdef RLIMIT_NOFILE
+ R(RLIMIT_NOFILE, nofile)
#endif
#ifdef RLIMIT_NPROC
R(RLIMIT_NPROC, nproc)
#endif
#endif
#ifdef RLIMIT_NPROC
R(RLIMIT_NPROC, nproc)
#endif
-#ifdef RLIMIT_
NOFILE
- R(RLIMIT_
NOFILE, nofile
)
+#ifdef RLIMIT_
RSS
+ R(RLIMIT_
RSS, rss
)
#endif
#endif
-#ifdef RLIMIT_MEMLOCK
- R(RLIMIT_MEMLOCK, memlock)
+#ifdef RLIMIT_RTPRIO
+ R(RLIMIT_RTPRIO, rtprio)
+#endif
+#ifdef RLIMIT_SIGPENDING
+ R(RLIMIT_SIGPENDING, sigpending)
+#endif
+#ifdef RLIMIT_STACK
+ R(RLIMIT_STACK, stack)
#endif
#ifdef RLIMIT_VMEM
R(RLIMIT_VMEM, vmem)
#endif
#endif
#ifdef RLIMIT_VMEM
R(RLIMIT_VMEM, vmem)
#endif
-#ifdef RLIMIT_AS
- R(RLIMIT_AS, as)
-#endif
#undef R
#undef R