git: beb0de9a845e - stable/12 - posix_spawn(3): fix section that references `vfork`
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 11 Apr 2022 01:20:00 UTC
The branch stable/12 has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=beb0de9a845e941774fc5d6dbd621ba445d8ace9
commit beb0de9a845e941774fc5d6dbd621ba445d8ace9
Author: Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2020-12-11 00:20:04 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2022-04-11 01:19:50 +0000
posix_spawn(3): fix section that references `vfork`
`vfork(2)` should be referenced in paragraphs as `.Fn vfork`, not `vfork()`.
This change switches the reference to use `.Fn`, which in turn makes the
manpage `make manlint` clean.
MFC after: 1 week
Reported by: make manlint
Sponsored by: DellEMC Isilon
(cherry picked from commit 2c96ea9ca0aa37db109700be5ed33afc30133ec1)
---
lib/libc/gen/posix_spawn.3 | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/libc/gen/posix_spawn.3 b/lib/libc/gen/posix_spawn.3
index 6c65ccd556c3..596dac318673 100644
--- a/lib/libc/gen/posix_spawn.3
+++ b/lib/libc/gen/posix_spawn.3
@@ -300,7 +300,9 @@ had been called to create a child process and then
.Fn execve
had been called by the child process to execute the new process image.
.Pp
-The implementation uses vfork(), thus the fork handlers are not run when
+The implementation uses
+.Fn vfork ,
+thus the fork handlers are not run when
.Fn posix_spawn
or
.Fn posix_spawnp