mdoc(7) police: fix markup.
This commit is contained in:
parent
aa852b31c4
commit
aab47f87b8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user