aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/syscalls/systimes.c
blob: f74d6fa15bc6787c3982700db7d21d6212c4e87b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* 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
}