diff options
Diffstat (limited to 'c/src/exec/posix/src')
-rw-r--r-- | c/src/exec/posix/src/execl.c | 17 | ||||
-rw-r--r-- | c/src/exec/posix/src/execle.c | 17 | ||||
-rw-r--r-- | c/src/exec/posix/src/execlp.c | 16 | ||||
-rw-r--r-- | c/src/exec/posix/src/execv.c | 16 | ||||
-rw-r--r-- | c/src/exec/posix/src/execve.c | 18 | ||||
-rw-r--r-- | c/src/exec/posix/src/execvp.c | 16 | ||||
-rw-r--r-- | c/src/exec/posix/src/fork.c | 14 | ||||
-rw-r--r-- | c/src/exec/posix/src/pthreadatfork.c | 18 |
8 files changed, 132 insertions, 0 deletions
diff --git a/c/src/exec/posix/src/execl.c b/c/src/exec/posix/src/execl.c new file mode 100644 index 0000000000..af26b539d5 --- /dev/null +++ b/c/src/exec/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/c/src/exec/posix/src/execle.c b/c/src/exec/posix/src/execle.c new file mode 100644 index 0000000000..94b0ede939 --- /dev/null +++ b/c/src/exec/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/c/src/exec/posix/src/execlp.c b/c/src/exec/posix/src/execlp.c new file mode 100644 index 0000000000..0967aa8201 --- /dev/null +++ b/c/src/exec/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/c/src/exec/posix/src/execv.c b/c/src/exec/posix/src/execv.c new file mode 100644 index 0000000000..0d580ba882 --- /dev/null +++ b/c/src/exec/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/c/src/exec/posix/src/execve.c b/c/src/exec/posix/src/execve.c new file mode 100644 index 0000000000..478af706ea --- /dev/null +++ b/c/src/exec/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/c/src/exec/posix/src/execvp.c b/c/src/exec/posix/src/execvp.c new file mode 100644 index 0000000000..a9d7694fbd --- /dev/null +++ b/c/src/exec/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/c/src/exec/posix/src/fork.c b/c/src/exec/posix/src/fork.c new file mode 100644 index 0000000000..11cac91bdb --- /dev/null +++ b/c/src/exec/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/c/src/exec/posix/src/pthreadatfork.c b/c/src/exec/posix/src/pthreadatfork.c new file mode 100644 index 0000000000..f70f8d7dc1 --- /dev/null +++ b/c/src/exec/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; +} |