fix bogus lazy allocation in ctermid and missing malloc failure check
[musl] / src / thread / sem_destroy.c
2011-03-04 Rich Felkerimplement POSIX semaphores