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

16 lines
220 B
C

/* 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
}