Skip to content

Commit 2b3b1f1

Browse files
committed
execve.2: execve also returns E2BIG if a string is too long
Document that if a command line or environment string is too long (> MAX_ARG_STRLEN), execve will also return E2BIG. Signed-off-by: Rik van Riel <riel@surriel.com>
1 parent ae6b221 commit 2b3b1f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

man2/execve.2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ The total number of bytes in the environment
449449
.RI ( envp )
450450
and argument list
451451
.RI ( argv )
452-
is too large.
452+
is too large, or an argument or environment string is too long.
453453
.TP
454454
.B EACCES
455455
Search permission is denied on a component of the path prefix of

0 commit comments

Comments
 (0)