summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-25 13:28:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-25 13:28:28 +0000
commitb965227fa101c747d49dc5ad47a37489af8f970f (patch)
treee7faea57e224aacd129c366943b2d883614af6e2 /c/src/exec/posix/src
parentAdded information on every service in this chapter. Most of them are (diff)
downloadrtems-b965227fa101c747d49dc5ad47a37489af8f970f.tar.bz2
Now compiles.
Diffstat (limited to 'c/src/exec/posix/src')
-rw-r--r--c/src/exec/posix/src/Makefile.in6
-rw-r--r--c/src/exec/posix/src/execlp.c1
-rw-r--r--c/src/exec/posix/src/execv.c1
3 files changed, 7 insertions, 1 deletions
diff --git a/c/src/exec/posix/src/Makefile.in b/c/src/exec/posix/src/Makefile.in
index 7091a3b7c3..4a3aa25f7b 100644
--- a/c/src/exec/posix/src/Makefile.in
+++ b/c/src/exec/posix/src/Makefile.in
@@ -11,8 +11,12 @@ PROJECT_ROOT = @PROJECT_ROOT@
# following are semi-implemented and untested
# C_PIECES=aio cancel devctl intr mqueue ptimer semaphore time utsname
+ENOSYS_C_PIECES=\
+ execl execle execlp execv execve execvp fork \
+ pthreadatfork
+
C_PIECES= adasupp cond getpid key mutex pthread psignal sched time \
- types unistd
+ types unistd $(ENOSYS_C_PIECES)
C_FILES=$(C_PIECES:%=%.c)
C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
diff --git a/c/src/exec/posix/src/execlp.c b/c/src/exec/posix/src/execlp.c
index 0967aa8201..83b6ceba33 100644
--- a/c/src/exec/posix/src/execlp.c
+++ b/c/src/exec/posix/src/execlp.c
@@ -10,6 +10,7 @@ int execlp(
const char *file,
const char *arg,
...
+)
{
errno = ENOSYS;
return -1;
diff --git a/c/src/exec/posix/src/execv.c b/c/src/exec/posix/src/execv.c
index 0d580ba882..d05f4a2c58 100644
--- a/c/src/exec/posix/src/execv.c
+++ b/c/src/exec/posix/src/execv.c
@@ -10,6 +10,7 @@ int execv(
const char *file,
char *const argv[],
...
+)
{
errno = ENOSYS;
return -1;