libc/newlib/libc/syscalls/systimes.c

16 lines
230 B
C
Raw Normal View History

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