Last change
on this file since 616 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
371 bytes
|
Rev | Line | |
---|
[444] | 1 | /* |
---|
| 2 | * Stub version of gettimeofday. |
---|
| 3 | */ |
---|
| 4 | |
---|
| 5 | #include "config.h" |
---|
| 6 | #include <_ansi.h> |
---|
| 7 | #include <_syslist.h> |
---|
| 8 | #include <sys/time.h> |
---|
| 9 | #include <sys/times.h> |
---|
| 10 | #include <errno.h> |
---|
| 11 | #undef errno |
---|
| 12 | extern int errno; |
---|
| 13 | #include "warning.h" |
---|
| 14 | |
---|
| 15 | struct timeval; |
---|
| 16 | |
---|
| 17 | int |
---|
| 18 | _gettimeofday (struct timeval *ptimeval, |
---|
| 19 | void *ptimezone) |
---|
| 20 | { |
---|
| 21 | errno = ENOSYS; |
---|
| 22 | return -1; |
---|
| 23 | } |
---|
| 24 | |
---|
| 25 | stub_warning(_gettimeofday) |
---|
Note: See
TracBrowser
for help on using the repository browser.