repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update.
[glibc.git]
/
libio
/
pclose.c
blob
e5d7c0c9c9fc31d063e6760ed8a24bf69f413910
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
}