mirror of https://github.com/mkerrisk/man-pages
getrlimit.2: Add mention of the ancient vlimit() function
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7d56e2b530
commit
e1695dec3d
|
@ -60,7 +60,7 @@
|
||||||
.\" 2005-07-28, mtk, Added descriptions of RLIMIT_NICE and RLIMIT_RTPRIO
|
.\" 2005-07-28, mtk, Added descriptions of RLIMIT_NICE and RLIMIT_RTPRIO
|
||||||
.\" 2008-05-07, mtk / Peter Zijlstra, Added description of RLIMIT_RTTIME
|
.\" 2008-05-07, mtk / Peter Zijlstra, Added description of RLIMIT_RTTIME
|
||||||
.\"
|
.\"
|
||||||
.TH GETRLIMIT 2 2010-09-12 "Linux" "Linux Programmer's Manual"
|
.TH GETRLIMIT 2 2010-09-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
getrlimit, setrlimit \- get/set resource limits
|
getrlimit, setrlimit \- get/set resource limits
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -428,6 +428,15 @@ in
|
||||||
.BR csh (1)).
|
.BR csh (1)).
|
||||||
The shell's resource limits are inherited by the processes that
|
The shell's resource limits are inherited by the processes that
|
||||||
it creates to execute commands.
|
it creates to execute commands.
|
||||||
|
|
||||||
|
Ancient systems provided a
|
||||||
|
.BR vlimit ()
|
||||||
|
function with a similar purpose to
|
||||||
|
.BR setrlimit ().
|
||||||
|
For backward compatibility, glibc also provides
|
||||||
|
.BR vlimit ().
|
||||||
|
All new applications should be written using
|
||||||
|
.BR setrlimit ().
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
In older Linux kernels, the
|
In older Linux kernels, the
|
||||||
.B SIGXCPU
|
.B SIGXCPU
|
||||||
|
|
Loading…
Reference in New Issue