source: trunk/libs/newlib/src/libgloss/mn10300/time.c @ 634

Last change on this file since 634 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 207 bytes
RevLine 
[444]1#include <_ansi.h>
2#include <sys/types.h>
3#include <sys/stat.h>
4#include "trap.h"
5
6
7time_t
8time (time_t *tloc)
9{
10  time_t res;
11  res = TRAP0 (SYS_time, 0, 0, 0);
12  if (tloc)
13    *tloc = res;
14  return res;
15}
Note: See TracBrowser for help on using the repository browser.