1<sys/times.h>(0P) POSIX Programmer's Manual <sys/times.h>(0P)
2
3
4
6 sys/times.h - file access and modification times structure
7
9 #include <sys/times.h>
10
12 The <sys/times.h> header shall define the structure tms, which is
13 returned by times() and includes at least the following members:
14
15
16 clock_t tms_utime User CPU time.
17 clock_t tms_stime System CPU time.
18 clock_t tms_cutime User CPU time of terminated child processes.
19 clock_t tms_cstime System CPU time of terminated child processes.
20
21 The clock_t type shall be defined as described in <sys/types.h> .
22
23 The following shall be declared as a function and may also be defined
24 as a macro. A function prototype shall be provided.
25
26
27 clock_t times(struct tms *);
28
29 The following sections are informative.
30
32 None.
33
35 None.
36
38 None.
39
41 <sys/types.h>, the System Interfaces volume of IEEE Std 1003.1-2001,
42 times()
43
45 Portions of this text are reprinted and reproduced in electronic form
46 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
47 -- Portable Operating System Interface (POSIX), The Open Group Base
48 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
49 Electrical and Electronics Engineers, Inc and The Open Group. In the
50 event of any discrepancy between this version and the original IEEE and
51 The Open Group Standard, the original IEEE and The Open Group Standard
52 is the referee document. The original Standard can be obtained online
53 at http://www.opengroup.org/unix/online.html .
54
55
56
57IEEE/The Open Group 2003 <sys/times.h>(0P)