fmemopen: fix eof handling, hopefully right this time
[musl] / src / thread / syscall_cp.c