0b44a031
1 2 3 4 5 6 7 8 9 10
#include "stdio_impl.h" int pclose(FILE *f) { int status; fclose(f); while (waitpid(f->pipe_pid, &status, 0) == -1) if (errno != EINTR) return -1; return status; }