summaryrefslogtreecommitdiffstats
path: root/include/unistd.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-05 20:50:44 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-05 20:50:44 +0000
commit42ee079162ef0aacb93181dcc0df86c9d33f75c5 (patch)
treed39ae6428257ba39a2e9256d1bd54ff1a2659c17 /include/unistd.h
parentca9bd30c262ed788486c1d367ad40550e5d806c2 (diff)
downloaduClibc-alpine-42ee079162ef0aacb93181dcc0df86c9d33f75c5.tar.bz2
uClibc-alpine-42ee079162ef0aacb93181dcc0df86c9d33f75c5.tar.xz
More header file cleanup.
-Erik
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 3fb2e7f4b..fa1caf27b 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -62,6 +62,37 @@ extern char * mktemp __P ((char * __template));
extern int _clone __P ((int (*fn)(void *arg), void *child_stack, int flags, void *arg));
+/* Make PATH be the root directory (the starting point for absolute paths).
+ This call is restricted to the super-user. */
+extern int chroot __P ((__const char *__path));
+
+
+
+
+/* Execute PATH with all arguments after PATH until
+ a NULL pointer and environment from `environ'. */
+extern int execl __P ((__const char *__path, __const char *__arg, ...));
+
+/* Execute FILE, searching in the `PATH' environment variable if
+ it contains no slashes, with all arguments after FILE until a
+ NULL pointer and environment from `environ'. */
+extern int execlp __P ((__const char *__file, __const char *__arg, ...));
+
+/* Execute PATH with arguments ARGV and environment from `environ'. */
+extern int execv __P ((__const char *__path, char *__const __argv[]));
+
+/* Replace the current process, executing PATH with arguments ARGV and
+ environment ENVP. ARGV and ENVP are terminated by NULL pointers. */
+extern int execve __P ((__const char *__path, char *__const __argv[],
+ char *__const __envp[]));
+/* Execute FILE, searching in the `PATH' environment variable if it contains
+ no slashes, with arguments ARGV and environment from `environ'. */
+extern int execvp __P ((__const char *__file, char *__const __argv[]));
+
+
+
+
+
#if 0
#ifndef SYS_fork
#define SYS_fork 2