Projet_SETI_RISC-V/riscv-gnu-toolchain/newlib/libgloss/riscv/sys_ftime.c
2023-03-06 14:48:14 +01:00

10 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;
}