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

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