aboutsummaryrefslogtreecommitdiff
path: root/libio/stdio/popen.c
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>2001-02-05 11:01:36 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2001-02-05 11:01:36 +0000
commit3df1453df5115140b5ab5bbf56cd0a4404da9a7b (patch)
tree7d2c2f4379041aeae8b380308e1294d0a49ff67a /libio/stdio/popen.c
parent39d6f2e8a535c22254682e99e59d63481aab8dfe (diff)
downloadgcc-3df1453df5115140b5ab5bbf56cd0a4404da9a7b.zip
gcc-3df1453df5115140b5ab5bbf56cd0a4404da9a7b.tar.gz
gcc-3df1453df5115140b5ab5bbf56cd0a4404da9a7b.tar.bz2
Remove libio
From-SVN: r39453
Diffstat (limited to 'libio/stdio/popen.c')
-rw-r--r--libio/stdio/popen.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/libio/stdio/popen.c b/libio/stdio/popen.c
deleted file mode 100644
index 9f9f3f7..0000000
--- a/libio/stdio/popen.c
+++ /dev/null
@@ -1,23 +0,0 @@
-#include "libioP.h"
-#include "stdio.h"
-#include <errno.h>
-
-FILE *
-popen(command, mode)
- const char *command; const char *mode;
-{
- return _IO_popen(command, mode);
-}
-
-int
-pclose(fp)
- FILE *fp;
-{
-#if 0
- /* Does not actually test that stream was created by popen(). Instead,
- it depends on the filebuf::sys_close() virtual to Do The Right Thing. */
- if (fp is not a proc_file)
- return -1;
-#endif
- return _IO_fclose(fp);
-}