From e1695dec3dc630422e65d6918013bc5be968cad5 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 26 Sep 2010 06:59:41 +0200 Subject: [PATCH] getrlimit.2: Add mention of the ancient vlimit() function Signed-off-by: Michael Kerrisk --- man2/getrlimit.2 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/man2/getrlimit.2 b/man2/getrlimit.2 index 02ff63c96..b9c606342 100644 --- a/man2/getrlimit.2 +++ b/man2/getrlimit.2 @@ -60,7 +60,7 @@ .\" 2005-07-28, mtk, Added descriptions of RLIMIT_NICE and RLIMIT_RTPRIO .\" 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 getrlimit, setrlimit \- get/set resource limits .SH SYNOPSIS @@ -428,6 +428,15 @@ in .BR csh (1)). The shell's resource limits are inherited by the processes that 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 In older Linux kernels, the .B SIGXCPU