diff options
| author | tjg <tjg> | 2001-11-23 16:03:22 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:21 +0100 |
| commit | bf61b6f19e8292742ed3dedcf58457ff3607173a (patch) | |
| tree | 95563a7ca8ee5029efc289755a659bff081b81e4 /rlimit.h | |
| parent | c09b7f1b7658ff06291ec6f9360db73b67a6ed82 (diff) | |
Bug: parselimit() was broken in various ways (thanks Chris
Siebenmann).
Diffstat (limited to 'rlimit.h')
| -rw-r--r-- | rlimit.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -39,4 +39,15 @@ typedef long rlim_t; #define RLIMIT_NOFILE RLIMIT_OFILE #endif +struct Suffix { + const struct Suffix *next; + long amount; + char *name; +}; + +struct Limit { + char *name; + int flag; + const struct Suffix *suffix; +}; #endif /* HAVE_SETRLIMIT */ |