1 /* Reentrant versions of times system calls */
9 /* Some targets provides their own versions of these functions. Those
10 targets should define REENTRANT_SYSCALLS_PROVIDED in TARGET_CFLAGS. */
13 #ifndef REENTRANT_SYSCALLS_PROVIDED
14 #define REENTRANT_SYSCALLS_PROVIDED
18 #ifdef REENTRANT_SYSCALLS_PROVIDED
20 int _dummy_times_syscalls
= 1;
24 /* We use the errno variable used by the system dependent layer. */
30 <<_times_r>>---Reentrant version of times
37 #include <sys/times.h>
38 clock_t _times_r(struct _reent *<[ptr]>, struct tms *<[ptms]>);
41 This is a reentrant version of <<times>>. It
42 takes a pointer to the global data block, which holds
47 _times_r (struct _reent
*ptr
,
55 #endif /* ! defined (REENTRANT_SYSCALLS_PROVIDED) */