From 3df1453df5115140b5ab5bbf56cd0a4404da9a7b Mon Sep 17 00:00:00 2001 From: Mark Mitchell <mmitchel@gcc.gnu.org> Date: Mon, 5 Feb 2001 11:01:36 +0000 Subject: Remove libio From-SVN: r39453 --- libio/stdio/popen.c | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 libio/stdio/popen.c (limited to 'libio/stdio/popen.c') 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); -} -- cgit v1.1