mirror of
https://github.com/encounter/newlib.git
synced 2026-03-30 11:31:09 -07:00
18 lines
315 B
C
18 lines
315 B
C
#include "config.h"
|
|
#include <_ansi.h>
|
|
#include <_syslist.h>
|
|
#include <sys/times.h>
|
|
#include <errno.h>
|
|
|
|
#ifdef REENTRANT_SYSCALLS_PROVIDED
|
|
clock_t _times_r(struct _reent *r, struct tms *ptms) {
|
|
#else
|
|
clock_t _times(struct tms *buf) {
|
|
|
|
struct _reent *r = _REENT;
|
|
#endif
|
|
r->_errno = ENOSYS;
|
|
return (clock_t)-1;
|
|
}
|
|
|