OSDN Git Service

(split) LDP: Update original to LDP v3.38.
[linuxjm/LDP_man-pages.git] / original / man2 / getrusage.2
index 0e5bc0a..339f5f9 100644 (file)
@@ -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