]> git.saurik.com Git - apple/libc.git/blame - gen/FreeBSD/ulimit.3.patch
Libc-763.12.tar.gz
[apple/libc.git] / gen / FreeBSD / ulimit.3.patch
CommitLineData
1f2f436a
A
1--- ulimit.3.orig 2009-11-07 14:51:38.000000000 -0800
2+++ ulimit.3 2009-11-07 14:51:39.000000000 -0800
224c7076
A
3@@ -34,28 +34,31 @@
4 .Sh SYNOPSIS
5 .In ulimit.h
6 .Ft long
7-.Fn ulimit "int cmd" "..."
8+.Fo ulimit
9+.Fa "int cmd"
10+.Fa "..."
11+.Fc
12 .Sh DESCRIPTION
13 The
14 .Fn ulimit
15 function will get and set process limits.
16-Currently this is limited to the maximum file size.
17+Currently, this is limited to the maximum file size.
18 The
19 .Fa cmd
20 argument is one of the following:
21 .Bl -tag -width ".Dv UL_GETFSIZE"
22 .It Dv UL_GETFSIZE
23-will return the maximum file size in units of 512 blocks of
24-the current process.
25+will return the maximum file size of the current process,
26+in units of 512-byte blocks.
27 .It Dv UL_SETFSIZE
28 will attempt to set the maximum file size of the current
29-process and its children with the second argument expressed as a long.
30+process and its children, using the second argument (expressed as a long).
31 .El
32 .Sh RETURN VALUES
33 Upon successful completion,
34 .Fn ulimit
35 returns the value requested;
36-otherwise the value \-1 is returned and the global variable
37+otherwise, the value \-1 is returned and the global variable
38 .Va errno
39 is set to indicate the error.
40 .Sh ERRORS