use O_CLOEXEC to open semaphore files in sem_open
[musl] / src / thread / syscall_cp.c
2011-04-17 Rich Felkeroverhaul pthread cancellation