summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-07-18 15:55:34 +0000
committerru <ru@FreeBSD.org>2001-07-18 15:55:34 +0000
commitaab47f87b883af33145a316a1154801431cb0170 (patch)
treebe23f5ac3b431b518d0af898920dcc09570ef401 /lib
parentaa852b31c43ca664c987f1f2ec1d36db8399b7c6 (diff)
downloadFreeBSD-src-aab47f87b883af33145a316a1154801431cb0170.zip
FreeBSD-src-aab47f87b883af33145a316a1154801431cb0170.tar.gz
mdoc(7) police: fix markup.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/times.336
1 files changed, 20 insertions, 16 deletions
diff --git a/lib/libc/gen/times.3 b/lib/libc/gen/times.3
index 9f278a4..5faa5f2 100644
--- a/lib/libc/gen/times.3
+++ b/lib/libc/gen/times.3
@@ -46,8 +46,10 @@
.Fn times "struct tms *tp"
.Sh DESCRIPTION
.Bf -symbolic
-This interface is obsoleted by getrusage(2)
-and gettimeofday(3).
+This interface is obsoleted by
+.Xr getrusage 2
+and
+.Xr gettimeofday 3 .
.Ef
.Pp
The
@@ -63,35 +65,35 @@ It also fills in the structure pointed to by
with time-accounting information.
.Pp
The
-.Fa tms
+.Vt tms
structure is defined as follows:
.Bd -literal -offset indent
-typedef struct {
+struct tms {
clock_t tms_utime;
clock_t tms_stime;
clock_t tms_cutime;
clock_t tms_cstime;
-}
+};
.Ed
.Pp
The elements of this structure are defined as follows:
-.Bl -tag -width tms_cutime
-.It Fa tms_utime
+.Bl -tag -width ".Va tms_cutime"
+.It Va tms_utime
The
.Tn CPU
time charged for the execution of user instructions.
-.It Fa tms_stime
+.It Va tms_stime
The
.Tn CPU
time charged for execution by the system on behalf of
the process.
-.It Fa tms_cutime
+.It Va tms_cutime
The sum of the
-.Fa tms_utime s
+.Va tms_utime Ns s
and
-.Fa tms_cutime s
+.Va tms_cutime Ns s
of the child processes.
-.It Fa tms_cstime
+.It Va tms_cstime
The sum of the
.Fa tms_stime Ns s
and
@@ -104,17 +106,19 @@ All times are in
of a second.
.Pp
The times of a terminated child process are included in the
-.Fa tms_cutime
+.Va tms_cutime
and
-.Fa tms_cstime
+.Va tms_cstime
elements of the parent when one of the
.Xr wait 2
functions returns the process ID of the terminated child to the parent.
If an error occurs,
.Fn times
returns the value
-.Pq (clock_t)\-1 ,
-and sets errno to indicate the error.
+.Pq Po Vt clock_t Pc Ns \-1 ,
+and sets
+.Va errno
+to indicate the error.
.Sh ERRORS
The
.Fn times
OpenPOWER on IntegriCloud