fix ptsname_r to conform to the upcoming posix requirements
[musl] / src / thread / sem_wait.c
2011-03-04 Rich Felkerimplement POSIX semaphores