diff options
-rw-r--r-- | c/src/exec/posix/src/Makefile.in | 6 | ||||
-rw-r--r-- | c/src/exec/posix/src/execlp.c | 1 | ||||
-rw-r--r-- | c/src/exec/posix/src/execv.c | 1 | ||||
-rw-r--r-- | cpukit/posix/src/execlp.c | 1 | ||||
-rw-r--r-- | cpukit/posix/src/execv.c | 1 |
5 files changed, 9 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; diff --git a/cpukit/posix/src/execlp.c b/cpukit/posix/src/execlp.c index 0967aa8201..83b6ceba33 100644 --- a/cpukit/posix/src/execlp.c +++ b/cpukit/posix/src/execlp.c @@ -10,6 +10,7 @@ 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 index 0d580ba882..d05f4a2c58 100644 --- a/cpukit/posix/src/execv.c +++ b/cpukit/posix/src/execv.c @@ -10,6 +10,7 @@ int execv( const char *file, char *const argv[], ... +) { errno = ENOSYS; return -1; |