newlib-cygwin/newlib/libc/syscalls/systimes.c

16 lines
220 B
C
Raw Normal View History

2000-02-18 03:39:52 +08:00
/* connector for times */
#include <reent.h>
#include <sys/times.h>
clock_t
times (buf)
struct tms *buf;
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
return _times_r (_REENT, buf);
#else
return _times (buf);
#endif
}