mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-15 11:00:04 +08:00
16 lines
220 B
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
|
|
}
|