newlib-cygwin/libgloss/mn10300/time.c

16 lines
207 B
C
Raw Normal View History

2000-03-18 06:48:54 +08:00
#include <_ansi.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "trap.h"
time_t
time (time_t *tloc)
{
time_t res;
res = TRAP0 (SYS_time, 0, 0, 0);
if (tloc)
*tloc = res;
return res;
2000-03-18 06:48:54 +08:00
}