From 8a18a9447980a5da38c23c4cd0f77d1b710610e1 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 26 Sep 2010 06:53:25 +0200 Subject: [PATCH] getrusage.2: Add mention of the ancient vlimit() function Signed-off-by: Michael Kerrisk --- man2/getrusage.2 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/man2/getrusage.2 b/man2/getrusage.2 index 0e5bc0a34..339f5f912 100644 --- a/man2/getrusage.2 +++ b/man2/getrusage.2 @@ -36,7 +36,7 @@ .\" document ru_maxrss .\" 2010-05-24, mtk, enhanced description of various fields .\" -.TH GETRUSAGE 2 2010-06-14 "Linux" "Linux Programmer's Manual" +.TH GETRUSAGE 2 2010-09-26 "Linux" "Linux Programmer's Manual" .SH NAME getrusage \- get resource usage .SH SYNOPSIS @@ -229,6 +229,15 @@ This nonconformance is rectified in Linux 2.6.9 and later. The structure definition shown at the start of this page was taken from 4.3BSD Reno. +Ancient systems provided a +.BR vtimes () +function with a similar purpose to +.BR getrusage (). +For backward compatibility, glibc also provides +.BR vtimes (). +All new applications should be written using +.BR getrusage (). + See also the description of .IR /proc/PID/stat in