]> git.ipfire.org Git - thirdparty/man-pages.git/commit
man/man3/posix_spawn.3: EXAMPLES: Validate the number of arguments
authorDr. David Alan Gilbert <dave@treblig.org>
Mon, 18 Aug 2025 22:59:10 +0000 (23:59 +0100)
committerAlejandro Colomar <alx@kernel.org>
Tue, 19 Aug 2025 11:10:15 +0000 (13:10 +0200)
commit1144819ff0d6dab063627b9f138b5cc4f7098e85
tree13a1033b2b9e61fa244141e17a841f538ab92461
parent7ee4cbd5bbdaa540ec90147b6b8b4e63efc45386
man/man3/posix_spawn.3: EXAMPLES: Validate the number of arguments

Make the example check for an executable name on the command line
rather than segfaulting in the child.

Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Message-ID: <20250818225910.101238-1-dave@treblig.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man3/posix_spawn.3