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