OLD | NEW |
---|---|
(Empty) | |
1 | |
2 #include <errno.h> | |
3 #include <time.h> | |
4 | |
5 #include <irt_syscalls.h> | |
6 | |
7 | |
Roland McGrath
2012/02/14 00:15:45
excess blank line here.
bsy
2012/02/15 18:35:59
Done.
| |
8 | |
9 int clock_gettime (clockid_t clk_id, struct timespec *tp) | |
10 { | |
11 int result = __nacl_irt_clock_gettime (clk_id, tp); | |
12 if (result != 0) { | |
13 __set_errno (result); | |
14 return -1; | |
15 } | |
16 return 0; | |
17 } | |
18 librt_hidden_def (clock_gettime) | |
19 | |
OLD | NEW |