aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-07-18 15:55:34 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-07-18 15:55:34 +0000
commit97e1bac18964fab4898772668968d319f434db34 (patch)
treebe23f5ac3b431b518d0af898920dcc09570ef401
parent1d719d1ca1f2901a6a82610a610689753615d9fe (diff)
downloadsrc-97e1bac18964fab4898772668968d319f434db34.tar.gz
src-97e1bac18964fab4898772668968d319f434db34.zip
mdoc(7) police: fix markup.
Notes
Notes: svn path=/head/; revision=79869
-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 9f278a455252..5faa5f2c870c 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