fix errno for posix_openpt with no free ptys available
[musl] / src / thread / sem_unlink.c
2011-03-04 Rich Felkerimplement POSIX semaphores