Cygwin: access: Fix X_OK behaviour for backup operators and admins
[newlib-cygwin.git] / newlib / libc / include / sys / times.h
blob25dc8bd05aab408022d11819d5049b3eadbe516c
1 #ifndef _SYS_TIMES_H
2 #ifdef __cplusplus
3 extern "C" {
4 #endif
5 #define _SYS_TIMES_H
7 #include <_ansi.h>
8 #include <sys/_types.h>
10 #if !defined(__clock_t_defined) && !defined(_CLOCK_T_DECLARED)
11 typedef _CLOCK_T_ clock_t;
12 #define __clock_t_defined
13 #define _CLOCK_T_DECLARED
14 #endif
16 /* Get Process Times, P1003.1b-1993, p. 92 */
17 struct tms {
18 clock_t tms_utime; /* user time */
19 clock_t tms_stime; /* system time */
20 clock_t tms_cutime; /* user time, children */
21 clock_t tms_cstime; /* system time, children */
24 clock_t times (struct tms *);
25 #ifdef _LIBC
26 clock_t _times (struct tms *);
27 #endif
29 #ifdef __cplusplus
31 #endif
32 #endif /* !_SYS_TIMES_H */