diff options
| author | Alejandro Colomar <alx@kernel.org> | 2023-01-02 17:11:11 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2023-01-02 17:11:19 +0100 |
| commit | 0c884c2c515d20c8ecf246eef5208dc748b98e65 (patch) | |
| tree | 31bf6e9b729513f7cae0b3214543db6d69b165a5 | |
| parent | 6a6d1d27a4c4eb8229d88ce2f4ef068d0521a7e8 (diff) | |
| download | man-pages-0c884c2c515d20c8ecf246eef5208dc748b98e65.tar.gz | |
execveat.2: SYNOPSIS: Use the glibc prototype
Glibc provides a wrapper with slightly different types (regarding
const). Show the wrapper, which is what users will interface with.
Reported-by: Mark Galeck <markgaleck@gmail.com>
Cc: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
| -rw-r--r-- | man2/execveat.2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man2/execveat.2 b/man2/execveat.2 index 4c21ebebb9..a25b3c5700 100644 --- a/man2/execveat.2 +++ b/man2/execveat.2 @@ -15,8 +15,8 @@ Standard C library .B #include <unistd.h> .PP .BI "int execveat(int " dirfd ", const char *" pathname , -.BI " const char *const _Nullable " argv [], -.BI " const char *const _Nullable " envp [], +.BI " char *const _Nullable " argv [], +.BI " char *const _Nullable " envp [], .BI " int " flags ); .fi .SH DESCRIPTION |
