built-riscv-gnu-toolchain/riscv32-unknown-elf/include/sys/times.h
jmug ce2d13d2a5 Push precompiled nix binaries
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2025-05-20 17:54:45 -07:00

32 lines
651 B
C

#ifndef _SYS_TIMES_H
#ifdef __cplusplus
extern "C" {
#endif
#define _SYS_TIMES_H
#include <_ansi.h>
#include <sys/_types.h>
#if !defined(__clock_t_defined) && !defined(_CLOCK_T_DECLARED)
typedef _CLOCK_T_ clock_t;
#define __clock_t_defined
#define _CLOCK_T_DECLARED
#endif
/* Get Process Times, P1003.1b-1993, p. 92 */
struct tms {
clock_t tms_utime; /* user time */
clock_t tms_stime; /* system time */
clock_t tms_cutime; /* user time, children */
clock_t tms_cstime; /* system time, children */
};
clock_t times (struct tms *);
#ifdef _LIBC
clock_t _times (struct tms *);
#endif
#ifdef __cplusplus
}
#endif
#endif /* !_SYS_TIMES_H */