in clock_getres, check for null pointer before storing result
[musl] / src / thread / sem_wait.c
2011-03-04 Rich Felkerimplement POSIX semaphores