source: trunk/libs/newlib/src/libgloss/riscv/sys_ftime.c @ 612

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

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

File size: 183 bytes
Line 
1#include <machine/syscall.h>
2#include <sys/timeb.h>
3
4/* Get the current time.  Only relatively correct.  */
5int
6_ftime(struct timeb *tp)
7{
8  tp->time = tp->millitm = 0;
9  return 0;
10}
Note: See TracBrowser for help on using the repository browser.