source:
trunk/libs/newlib/src/libgloss/mn10300/time.c
@
489
| Last change on this file since 489 was 444, checked in by , 7 years ago | |
|---|---|
| File size: 207 bytes | |
| Line | |
|---|---|
| 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.
