mirror of https://github.com/mkerrisk/man-pages
getrlimit.2: Glibc's setrlimit() and getrlimit() are implemented using prlimit()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7add6ac9a4
commit
93a3b5ca7b
|
@ -542,6 +542,15 @@ For backward compatibility, glibc also provides
|
|||
.BR vlimit ().
|
||||
All new applications should be written using
|
||||
.BR setrlimit ().
|
||||
.SS C library/ kernel ABI differences
|
||||
Since version 2.13, the glibc
|
||||
.BR getrlimit ()
|
||||
and
|
||||
.BR setrlimit ()
|
||||
wrapper functions no longer invoke the corresponding system calls,
|
||||
but instead employ
|
||||
.BR prlimit (),
|
||||
for the reasons described in BUGS.
|
||||
.SH BUGS
|
||||
.\" FIXME prlimit() does not suffer
|
||||
.\" https://bugzilla.kernel.org/show_bug.cgi?id=5042
|
||||
|
|
Loading…
Reference in New Issue