Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sys_ftime.c « riscv « libgloss - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5705592be45d64cf5785ceed610dadd44ab5d9c8 (plain)
1
2
3
4
5
6
7
8
9
10
#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;
}