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

Last change on this file since 571 was 444, checked in by satin@…, 7 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.