Do not use RLIMIT_AS on systems that don't have it, like NetBSD

darcs-hash:20051017133657-ac50b-b27739229dfa6b3f08c2e9e7f4577cdceaf09beb.gz
This commit is contained in:
axel
2005-10-17 23:36:57 +10:00
parent d17f6b7ce4
commit f87178420a
5 changed files with 26 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ value. Other options are interpreted as follows:
- <code>-s</code> or <code>--stack-size</code> The maximum stack size
- <code>-t</code> or <code>--cpu-time</code> The maximum amount of cpu time in seconds
- <code>-u</code> or <code>--process-count</code> The maximum number of processes available to a single user
- <code>-v</code> or <code>--virtual-memory-size</code> The maximum amount of virtual memory available to the shell
- <code>-v</code> or <code>--virtual-memory-size</code> The maximum amount of virtual memory available to the shell. If supported by OS.
If limit is given, it is the new value of the specified resource. If
no option is given, then -f is assumed. Values are in kilobytes,