Annotated edit history of
ulimit(3) version 1 showing authors affecting page license.
View with all changes included.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
ULIMIT |
|
|
2 |
!!!ULIMIT |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
RETURN VALUE |
|
|
7 |
ERRORS |
|
|
8 |
CONFORMING TO |
|
|
9 |
SEE ALSO |
|
|
10 |
---- |
|
|
11 |
!!NAME |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
ulimit - get and set user limits |
|
|
15 |
!!SYNOPSIS |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
__#include __ |
|
|
19 |
|
|
|
20 |
|
|
|
21 |
__long ulimit(int__ ''cmd''__, long__ |
|
|
22 |
''newlimit''__);__ |
|
|
23 |
!!DESCRIPTION |
|
|
24 |
|
|
|
25 |
|
|
|
26 |
Warning: This routine is obsolete. The include file is no |
|
|
27 |
longer provided by glibc. Use getrlimit(2), setrlimit(2) and |
|
|
28 |
sysconf(3) instead. For the shell command __ulimit__, see |
|
|
29 |
bash(1). |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
The __ulimit__ call will get or set some limit for the |
|
|
33 |
current process. The ''cmd'' argument can have one of the |
|
|
34 |
following values. |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
__UL_GETFSIZE__ |
|
|
38 |
|
|
|
39 |
|
|
|
40 |
Return the limit on the size of a file, in units of 512 |
|
|
41 |
bytes. |
|
|
42 |
|
|
|
43 |
|
|
|
44 |
__UL_SETFSIZE__ |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
Set the limit on the size of a file. |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
__3__ |
|
|
51 |
|
|
|
52 |
|
|
|
53 |
(Not implemented for Linux.) Return the maximum possible |
|
|
54 |
address of the data segment. |
|
|
55 |
|
|
|
56 |
|
|
|
57 |
__4__ |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
(Implemented but no symbolic constant provided.) Return the |
|
|
61 |
maximum number of files that the calling process can |
|
|
62 |
open. |
|
|
63 |
!!RETURN VALUE |
|
|
64 |
|
|
|
65 |
|
|
|
66 |
On success, __ulimit__ returns a nonnegative value. On |
|
|
67 |
error, -1 is returned, and ''errno'' is set |
|
|
68 |
appropriately. |
|
|
69 |
!!ERRORS |
|
|
70 |
|
|
|
71 |
|
|
|
72 |
__EPERM__ |
|
|
73 |
|
|
|
74 |
|
|
|
75 |
A non-root process tried to increase a limit. |
|
|
76 |
!!CONFORMING TO |
|
|
77 |
|
|
|
78 |
|
|
|
79 |
SVID. |
|
|
80 |
!!SEE ALSO |
|
|
81 |
|
|
|
82 |
|
|
|
83 |
bash(1), getrlimit(2), setrlimit(2), |
|
|
84 |
sysconf(3) |
|
|
85 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.