source: trunk/libs/newlib/src/libgloss/libnosys/times.c @ 564

Last change on this file since 564 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 280 bytes
Line 
1/*
2 * Stub version of times.
3 */
4
5#include "config.h"
6#include <_ansi.h>
7#include <_syslist.h>
8#include <sys/times.h>
9#include <errno.h>
10#undef errno
11extern int errno;
12#include "warning.h"
13
14clock_t
15_times (struct tms *buf)
16{
17  errno = ENOSYS;
18  return -1;
19}
20
21stub_warning(_times)
Note: See TracBrowser for help on using the repository browser.