source:
trunk/libs/newlib/src/libgloss/mn10300/time.c
@
652
Last change on this file since 652 was 444, checked in by , 6 years ago | |
---|---|
File size: 207 bytes |
Rev | Line | |
---|---|---|
[444] | 1 | #include <_ansi.h> |
2 | #include <sys/types.h> | |
3 | #include <sys/stat.h> | |
4 | #include "trap.h" | |
5 | ||
6 | ||
7 | time_t | |
8 | time (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.