From 858ffad217076227089cc17eb832db0bd1497792 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 5 Nov 2019 17:28:08 +0100 Subject: implement fexecve from glibc --- include/unistd.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include') 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[]) -- cgit v1.2.3