summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2019-11-05 17:28:08 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2019-11-05 17:29:01 +0100
commit858ffad217076227089cc17eb832db0bd1497792 (patch)
tree1e5db7c9e7fbf271865ec5acaf09f232a4ca08f3 /include
parent60eae0def70b8a2e768c6a5bec352da9d648b26c (diff)
implement fexecve from glibc
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/unistd.h b/include/unistd.h
index fdde8f02f..36cd5fcb5 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -585,13 +585,11 @@ extern int execve (const char *__path, char *const __argv[],
char *const __envp[]) __THROW __nonnull ((1, 2));
libc_hidden_proto(execve)
-#if 0 /*def __USE_XOPEN2K8*/
/* Execute the file FD refers to, overlaying the running program image.
ARGV and ENVP are passed to the new program, as for `execve'. */
extern int fexecve (int __fd, char *const __argv[], char *const __envp[])
__THROW __nonnull ((2));
-#endif
-
+libc_hidden_proto(fexecve)
/* Execute PATH with arguments ARGV and environment from `environ'. */
extern int execv (const char *__path, char *const __argv[])