aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-01-02 17:11:11 +0100
committerAlejandro Colomar <alx@kernel.org>2023-01-02 17:11:19 +0100
commit0c884c2c515d20c8ecf246eef5208dc748b98e65 (patch)
tree31bf6e9b729513f7cae0b3214543db6d69b165a5
parent6a6d1d27a4c4eb8229d88ce2f4ef068d0521a7e8 (diff)
downloadman-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.24
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