clean up allocation/setup logic for fmemopen
[musl] / src / thread / syscall_cp.c