plan9fox/sys/include/ape/sys/times.h
2011-03-30 19:35:09 +03:00

28 lines
340 B
C

#ifndef __TIMES_H
#define __TIMES_H
#pragma lib "/$M/lib/ape/libap.a"
#ifndef _CLOCK_T
#define _CLOCK_T
typedef long clock_t;
#endif
struct tms {
clock_t tms_utime;
clock_t tms_stime;
clock_t tms_cutime;
clock_t tms_cstime;
};
#ifdef __cplusplus
extern "C" {
#endif
clock_t times(struct tms *);
#ifdef __cplusplus
}
#endif
#endif