summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libcsupport/src/pipe.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/exec/libcsupport/src/pipe.c (renamed from c/src/lib/libc/_execve.c)14
1 files changed, 3 insertions, 11 deletions
diff --git a/c/src/lib/libc/_execve.c b/c/src/exec/libcsupport/src/pipe.c
index d1ad365b57..35dcf627bb 100644
--- a/c/src/lib/libc/_execve.c
+++ b/c/src/exec/libcsupport/src/pipe.c
@@ -1,9 +1,5 @@
-#include <rtems.h>
-
-#if defined(RTEMS_NEWLIB)
/*
- * RTEMS Dummy _execveImplementation
- *
+ * pipe() - POSIX 1003.1b 6.1.1 Create an Inter-Process Channel
*
* COPYRIGHT (c) 1989-1998.
* On-Line Applications Research Corporation (OAR).
@@ -16,16 +12,12 @@
* $Id$
*/
-#include <unistd.h>
#include <errno.h>
-int _execve(
- const char *path,
- char *const argv[],
- char *const environ[]
+int pipe(
+ int filsdes[2]
)
{
errno = ENOSYS;
return -1;
}
-#endif