Retro68/gcc/libgloss/mn10300/time.c
2012-03-27 01:51:53 +02:00

16 lines
207 B
C

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