summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-25 13:17:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-25 13:17:32 +0000
commit97149ba590564355c631e0902149710dd73862f5 (patch)
tree9166110f0f5537fc872bcc900c6dbcf8e0279ebe /cpukit/posix
parentStuff added by Kerwin. (diff)
downloadrtems-97149ba590564355c631e0902149710dd73862f5.tar.bz2
Added ENOSYS stubs for a number of process routines.
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/src/execl.c17
-rw-r--r--cpukit/posix/src/execle.c17
-rw-r--r--cpukit/posix/src/execlp.c16
-rw-r--r--cpukit/posix/src/execv.c16
-rw-r--r--cpukit/posix/src/execve.c18
-rw-r--r--cpukit/posix/src/execvp.c16
-rw-r--r--cpukit/posix/src/fork.c14
-rw-r--r--cpukit/posix/src/pthreadatfork.c18
8 files changed, 132 insertions, 0 deletions
diff --git a/cpukit/posix/src/execl.c b/cpukit/posix/src/execl.c
new file mode 100644
index 0000000000..af26b539d5
--- /dev/null
+++ b/cpukit/posix/src/execl.c
@@ -0,0 +1,17 @@
+/*
+ * execl() - POSIX 1003.1b 3.1.2
+ *
+ * $Id$
+ */
+
+#include <errno.h>
+
+int execl(
+ const char *path,
+ const char *arg,
+ ...
+)
+{
+ errno = ENOSYS;
+ return -1;
+}
diff --git a/cpukit/posix/src/execle.c b/cpukit/posix/src/execle.c
new file mode 100644
index 0000000000..94b0ede939
--- /dev/null
+++ b/cpukit/posix/src/execle.c
@@ -0,0 +1,17 @@
+/*
+ * execle() - POSIX 1003.1b 3.1.2
+ *
+ * $Id$
+ */
+
+#include <errno.h>
+
+int execle(
+ const char *path,
+ char const *arg,
+ ...
+)
+{
+ errno = ENOSYS;
+ return -1;
+}
diff --git a/cpukit/posix/src/execlp.c b/cpukit/posix/src/execlp.c
new file mode 100644
index 0000000000..0967aa8201
--- /dev/null
+++ b/cpukit/posix/src/execlp.c
@@ -0,0 +1,16 @@
+/*
+ * execlp() - POSIX 1003.1b 3.1.2
+ *
+ * $Id$
+ */
+
+#include <errno.h>
+
+int execlp(
+ const char *file,
+ const char *arg,
+ ...
+{
+ errno = ENOSYS;
+ return -1;
+}
diff --git a/cpukit/posix/src/execv.c b/cpukit/posix/src/execv.c
new file mode 100644
index 0000000000..0d580ba882
--- /dev/null
+++ b/cpukit/posix/src/execv.c
@@ -0,0 +1,16 @@
+/*
+ * execv() - POSIX 1003.1b 3.1.2
+ *
+ * $Id$
+ */
+
+#include <errno.h>
+
+int execv(
+ const char *file,
+ char *const argv[],
+ ...
+{
+ errno = ENOSYS;
+ return -1;
+}
diff --git a/cpukit/posix/src/execve.c b/cpukit/posix/src/execve.c
new file mode 100644
index 0000000000..478af706ea
--- /dev/null
+++ b/cpukit/posix/src/execve.c
@@ -0,0 +1,18 @@
+/*
+ * execve() - POSIX 1003.1b 3.1.2
+ *
+ * $Id$
+ */
+
+#include <errno.h>
+
+int execve(
+ const char *path,
+ char *const argv[],
+ char *const envp[],
+ ...
+)
+{
+ errno = ENOSYS;
+ return -1;
+}
diff --git a/cpukit/posix/src/execvp.c b/cpukit/posix/src/execvp.c
new file mode 100644
index 0000000000..a9d7694fbd
--- /dev/null
+++ b/cpukit/posix/src/execvp.c
@@ -0,0 +1,16 @@
+/*
+ * execvp() - POSIX 1003.1b 3.1.2
+ *
+ * $Id$
+ */
+
+#include <errno.h>
+
+int execvp(
+ const char *path,
+ char const *argv[]
+)
+{
+ errno = ENOSYS;
+ return -1;
+}
diff --git a/cpukit/posix/src/fork.c b/cpukit/posix/src/fork.c
new file mode 100644
index 0000000000..11cac91bdb
--- /dev/null
+++ b/cpukit/posix/src/fork.c
@@ -0,0 +1,14 @@
+/*
+ * fork() - POSIX 1003.1b 3.1.1
+ *
+ * $Id$
+ */
+
+#include <sys/types.h>
+#include <errno.h>
+
+int fork( void )
+{
+ errno = ENOSYS;
+ return -1;
+}
diff --git a/cpukit/posix/src/pthreadatfork.c b/cpukit/posix/src/pthreadatfork.c
new file mode 100644
index 0000000000..f70f8d7dc1
--- /dev/null
+++ b/cpukit/posix/src/pthreadatfork.c
@@ -0,0 +1,18 @@
+/*
+ * pthread_atfork() - POSIX 1003.1b 3.1.3
+ *
+ * $Id$
+ */
+
+#include <sys/types.h>
+#include <errno.h>
+
+int pthread_atfork(
+ void (*prepare)(void),
+ void (*parent)(void),
+ void (*child)(void)
+)
+{
+ errno = ENOSYS;
+ return -1;
+}