source:
trunk/libs/newlib/src/libgloss/riscv/sys_gettimeofday.c
@
453
Last change on this file since 453 was 444, checked in by , 7 years ago | |
---|---|
File size: 252 bytes |
Line | |
---|---|
1 | #include <machine/syscall.h> |
2 | #include <sys/time.h> |
3 | #include "internal_syscall.h" |
4 | |
5 | /* Get the current time. Only relatively correct. */ |
6 | int |
7 | _gettimeofday(struct timeval *tp, void *tzp) |
8 | { |
9 | return syscall_errno (SYS_gettimeofday, tp, 0, 0, 0, 0, 0); |
10 | } |
Note: See TracBrowser
for help on using the repository browser.