On 08/10/15 08:20, Hajime Tazaki wrote:
btw, clock_nanosleep(2) seems to be a bit trickier.

NetBSD returns -1 while Linux returns errno (positive).

http://man.netbsd.org/HEAD/usr/share/man/html2/nanosleep.html
http://man7.org/linux/man-pages/man2/clock_nanosleep.2.html

need an #ifdef around the code ? shiver...

I think the NetBSD manpage is wrong.

Reply via email to