| 1414 | |
| 1415 | = 10/28 = |
| 1416 | |
| 1417 | * [http://www.bugbearr.jp/?C%E8%A8%80%E8%AA%9E%2F%E6%97%A5%E6%99%82 C言語/日時 - BugbearR's Wiki] |
| 1418 | * http://linuxjm.sourceforge.jp/html/LDP_man-pages/man2/clock_gettime.2.html |
| 1419 | * [http://d.hatena.ne.jp/pyopyopyo/20060711/p1 linuxで時刻を取得する方法 - ぴょぴょぴょ? - Linuxとかプログラミングの覚え書き -] |
| 1420 | |
| 1421 | * [http://linux.die.net/man/2/intro intro(2): Introduction to system calls - Linux man page] |
| 1422 | > System calls are not required to return only positive or negative error codes. You need to read the source to be sure how it will return errors. Usually, it is the negative of a standard error code, e.g., -EPERM. The _syscall() macros will return the result r of the system call when r is non-negative, but will return -1 and set the variable errno to -r when r is negative. |