use O_CLOEXEC to open semaphore files in sem_open
[musl] / src / thread / syscall_cp.c