docs: standardise on exit status terminology

Exit status is used in the POSIX specification and is preferred over return code/return status/exit
code.

[ci skip]
This commit is contained in:
David Adam
2019-09-17 16:31:39 +08:00
parent 2f6c8fb21a
commit 4265b02eb3
9 changed files with 10 additions and 10 deletions

View File

@@ -40,7 +40,7 @@ Note that not all these limits are available in all operating systems.
The value of limit can be a number in the unit specified for the resource or one of the special values ``hard``, ``soft``, or ``unlimited``, which stand for the current hard limit, the current soft limit, and no limit, respectively.
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, except for ``-t``, which is in seconds and ``-n`` and ``-u``, which are unscaled values. The return status is 0 unless an invalid option or argument is supplied, or an error occurs while setting a new limit.
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, except for ``-t``, which is in seconds and ``-n`` and ``-u``, which are unscaled values. The exit status is 0 unless an invalid option or argument is supplied, or an error occurs while setting a new limit.
``ulimit`` also accepts the following switches that determine what type of limit to set: