clean up allocation/setup logic for fmemopen
[musl] / src / internal / syscall.c