mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
These three are not defined on all platforms that we support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43658 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -35,11 +35,13 @@ static struct limits {
|
||||
{ RLIMIT_DATA, "-d", "program data segment" },
|
||||
{ RLIMIT_STACK, "-s", "program stack size" },
|
||||
{ RLIMIT_CORE, "-c", "core file size" },
|
||||
#ifdef RLIMIT_RSS
|
||||
{ RLIMIT_RSS, "-m", "resident memory" },
|
||||
{ RLIMIT_NOFILE, "-n", "number of file descriptors" },
|
||||
{ RLIMIT_AS, "-v", "virtual memory" },
|
||||
{ RLIMIT_NPROC, "-u", "number of processes" },
|
||||
{ RLIMIT_MEMLOCK, "-l", "amount of memory locked into RAM" },
|
||||
#endif
|
||||
{ RLIMIT_NOFILE, "-n", "number of file descriptors" },
|
||||
{ RLIMIT_AS, "-v", "virtual memory" },
|
||||
};
|
||||
|
||||
static int str2limit(const char *string)
|
||||
|
Reference in New Issue
Block a user