haiku/headers/posix/sys/times.h

26 lines
472 B
C
Raw Normal View History

#ifndef _SYS_TIMES_H
#define _SYS_TIMES_H
/*
** Distributed under the terms of the OpenBeOS License.
*/
#include <time.h>
struct tms {
clock_t tms_utime; /* user CPU time */
clock_t tms_stime; /* system CPU time */
clock_t tms_cutime; /* user CPU time of terminated child processes */
clock_t tms_cstime; /* system CPU time of terminated child processes */
};
extern
#ifdef __cplusplus
"C"
#endif
clock_t times(struct tms *tms);
#endif /* _SYS_TIMES_H */