newlib/libgloss/riscv/sys_ftime.c

11 lines
183 B
C

#include <machine/syscall.h>
#include <sys/timeb.h>
/* Get the current time. Only relatively correct. */
int
_ftime(struct timeb *tp)
{
tp->time = tp->millitm = 0;
return 0;
}