]> git.saurik.com Git - apple/libc.git/blame - gen/FreeBSD/ulimit.3.patch
Libc-498.1.5.tar.gz
[apple/libc.git] / gen / FreeBSD / ulimit.3.patch
CommitLineData
224c7076
A
1--- _SB/Libc/gen/FreeBSD/ulimit.3 2003-05-20 15:21:03.000000000 -0700
2+++ _SB/Libc/gen/FreeBSD/ulimit.3.edit 2006-06-28 16:55:51.000000000 -0700
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