projects
/
kopensolaris-gnu
/
glibc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fri Feb 9 12:40:19 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
[kopensolaris-gnu/glibc.git]
/
libio
/
pclose.c
1
#include "libioP.h"
2
#include "stdio.h"
3
#include <errno.h>
4
5
int
6
pclose(fp)
7
FILE *fp;
8
{
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);
16
}