diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-24 04:52:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-24 04:52:22 +0000 |
commit | 3d08cd331c1adcf0d917392f7e527b3f00511748 (patch) | |
tree | 312f0d1e1632f48862f044b8bb87e602dcffb5f9 /man3/ulimit.3 | |
parent | Adding debian version 6.7-2. (diff) | |
download | manpages-3d08cd331c1adcf0d917392f7e527b3f00511748.tar.xz manpages-3d08cd331c1adcf0d917392f7e527b3f00511748.zip |
Merging upstream version 6.8.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man3/ulimit.3')
-rw-r--r-- | man3/ulimit.3 | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/man3/ulimit.3 b/man3/ulimit.3 deleted file mode 100644 index f003482..0000000 --- a/man3/ulimit.3 +++ /dev/null @@ -1,87 +0,0 @@ -'\" t -.\" Copyright (C) 1996 Andries Brouwer (aeb@cwi.nl) -.\" -.\" SPDX-License-Identifier: Linux-man-pages-copyleft -.\" -.\" Moved to man3, aeb, 980612 -.\" -.TH ulimit 3 2023-10-31 "Linux man-pages 6.7" -.SH NAME -ulimit \- get and set user limits -.SH LIBRARY -Standard C library -.RI ( libc ", " \-lc ) -.SH SYNOPSIS -.nf -.B #include <ulimit.h> -.P -.BI "[[deprecated]] long ulimit(int " cmd ", long " newlimit ); -.fi -.SH DESCRIPTION -Warning: this routine is obsolete. -Use -.BR getrlimit (2), -.BR setrlimit (2), -and -.BR sysconf (3) -instead. -For the shell command -.BR ulimit , -see -.BR bash (1). -.P -The -.BR ulimit () -call will get or set some limit for the calling process. -The -.I cmd -argument can have one of the following values. -.TP -.B UL_GETFSIZE -Return the limit on the size of a file, in units of 512 bytes. -.TP -.B UL_SETFSIZE -Set the limit on the size of a file. -.TP -.B 3 -(Not implemented for Linux.) -Return the maximum possible address of the data segment. -.TP -.B 4 -(Implemented but no symbolic constant provided.) -Return the maximum number of files that the calling process can open. -.SH RETURN VALUE -On success, -.BR ulimit () -returns a nonnegative value. -On error, \-1 is returned, and -.I errno -is set to indicate the error. -.SH ERRORS -.TP -.B EPERM -An unprivileged process tried to increase a limit. -.SH ATTRIBUTES -For an explanation of the terms used in this section, see -.BR attributes (7). -.TS -allbox; -lbx lb lb -l l l. -Interface Attribute Value -T{ -.na -.nh -.BR ulimit () -T} Thread safety MT-Safe -.TE -.SH STANDARDS -POSIX.1-2008. -.SH HISTORY -SVr4, POSIX.1-2001. -POSIX.1-2008 marks it as obsolete. -.SH SEE ALSO -.BR bash (1), -.BR getrlimit (2), -.BR setrlimit (2), -.BR sysconf (3) |