[BACK]Return to times.3 CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/gen/times.3 between version 1.11 and 1.12

version 1.11, 2002/02/07 07:00:18 version 1.12, 2002/06/23 21:32:01
Line 55  and
Line 55  and
 .Pp  .Pp
 The  The
 .Fn times  .Fn times
 function returns the value of time in  function returns the value of time in clock ticks since 0 hours, 0
 .Dv CLK_TCK Ns 's  minutes, 0 seconds, January 1, 1970, Coordinated Universal Time (UTC).
 of a second since  
 0 hours, 0 minutes, 0 seconds, January 1, 1970, Coordinated Universal  
 Time (UTC).  
 .Pp  .Pp
 It also fills in the structure pointed to by  The number of clock ticks per second may be determined by calling
   .Xr sysconf 3
   with the
   .Dv _SC_CLK_TCK
   request. It is generally (but not always) between 60 and 1024.
   .Pp
   Note that at the common rate of 100 ticks per second on many
   .Nx
   ports, and with a 32-bit unsigned clock_t, this value first wrapped in 1971.
   .Pp
   The
   .Fn times
   call also fills in the structure pointed to by
 .Fa tp  .Fa tp
 with time-accounting information.  with time-accounting information.
 .Pp  .Pp
Line 102  and
Line 111  and
 of the child processes.  of the child processes.
 .El  .El
 .Pp  .Pp
 All times are in  All times are measured in clock ticks, as defined above. Note that at
 .Dv CLK_TCK Ns 's  100 ticks per second, and with a 32-bit unsigned clock_t, the values
 of a second.  wrap after 497 days.
 .Pp  .Pp
 The times of a terminated child process are included in the  The times of a terminated child process are included in the
 .Fa tms_cutime  .Fa tms_cutime
Line 135  and
Line 144  and
 .Xr time 1 ,  .Xr time 1 ,
 .Xr getrusage 2 ,  .Xr getrusage 2 ,
 .Xr gettimeofday 2 ,  .Xr gettimeofday 2 ,
 .Xr wait 2  .Xr wait 2 ,
   .Xr sysconf 3
 .Sh STANDARDS  .Sh STANDARDS
 The  The
 .Fn times  .Fn times

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

CVSweb <webmaster@jp.NetBSD.org>