summaryrefslogtreecommitdiff
path: root/contrib/libio/stdio/popen.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2001-03-24 01:58:32 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2001-03-24 01:58:32 +0000
commitdf5aed8de33407b20f97d7270e08569e65b3b613 (patch)
treec41c79c4ef7430b486f8d317ee8497996acc3333 /contrib/libio/stdio/popen.c
parent66d7199d63dd50149e63de8a1ffead30b532eee6 (diff)
Diffstat (limited to 'contrib/libio/stdio/popen.c')
-rw-r--r--contrib/libio/stdio/popen.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/contrib/libio/stdio/popen.c b/contrib/libio/stdio/popen.c
deleted file mode 100644
index 9f9f3f72f58ee..0000000000000
--- a/contrib/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);
-}