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:
Michael Kerrisk 2014-05-16 13:35:31 +02:00
parent 7add6ac9a4
commit 93a3b5ca7b
1 changed files with 9 additions and 0 deletions

View File

@ -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