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

16 lines
230 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
_DEFUN (times, (buf),
struct tms *buf)
2000-02-18 03:39:52 +08:00
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
return _times_r (_REENT, buf);
#else
return _times (buf);
#endif
}