diff options
author | Mike Pritchard <mpp@FreeBSD.org> | 1997-01-12 00:38:36 +0000 |
---|---|---|
committer | Mike Pritchard <mpp@FreeBSD.org> | 1997-01-12 00:38:36 +0000 |
commit | 9880dddc9e1e1a6a6aae61c9fc62235dfb1b6a39 (patch) | |
tree | 90aaba8b57f96154b6594ad2a7c5a9b92e206d48 /lib/libc/sys/getrusage.2 | |
parent | aeea55e4594eff58688cdf3deb17dadce0315cfa (diff) | |
download | src-test2-9880dddc9e1e1a6a6aae61c9fc62235dfb1b6a39.tar.gz src-test2-9880dddc9e1e1a6a6aae61c9fc62235dfb1b6a39.zip |
Notes
Diffstat (limited to 'lib/libc/sys/getrusage.2')
-rw-r--r-- | lib/libc/sys/getrusage.2 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/libc/sys/getrusage.2 b/lib/libc/sys/getrusage.2 index 7219304fb6ab..0f92569c5b52 100644 --- a/lib/libc/sys/getrusage.2 +++ b/lib/libc/sys/getrusage.2 @@ -141,10 +141,16 @@ and account only for real I/O; data supplied by the caching mechanism is charged only to the first process to read or write the data. +.Sh RETURN VALUES +Uponsuccessful completion, +.Fn getrusage +returns 0. Otherwise, a value of -1 is returned and +.Va errno +is set to indicate the error. .Sh ERRORS -.Fn Getrusage -returns -1 on error. -The possible errors are: +The +.Fn getrusage +function will fail if: .Bl -tag -width Er .It Bq Er EINVAL The |