*** empty log message ***
[glibc.git] / libio / pclose.c
blobe5d7c0c9c9fc31d063e6760ed8a24bf69f413910
1 #include "libioP.h"
2 #include "stdio.h"
3 #include <errno.h>
5 int
6 pclose(fp)
7 FILE *fp;
9 #if 0
10 /* Does not actually test that stream was created by popen(). Instead,
11 it depends on the filebuf::sys_close() virtual to Do The Right Thing. */
12 if (fp is not a proc_file)
13 return -1;
14 #endif
15 return _IO_fclose(fp);