projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c2fe7a24a85107e95e58c8aa947524156dcca6b6
[musl]
/
src
/
stdio
/
pclose.c
1
#include "stdio_impl.h"
2
3
int pclose(FILE *f)
4
{
5
int status;
6
fclose(f);
7
while (waitpid(f->pipe_pid, &status, 0) == -1)
8
if (errno != EINTR) return -1;
9
return status;
10
}