Page MenuHomeFreeBSD

libc: document posix_spawnattr_{get,set}procdescp_np(3)
ClosedPublic

Authored by kib on Jan 26 2026, 8:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 28, 4:46 AM
Unknown Object (File)
Sun, Feb 22, 10:28 AM
Unknown Object (File)
Sun, Feb 22, 10:27 AM
Unknown Object (File)
Sat, Feb 21, 7:53 PM
Unknown Object (File)
Sat, Feb 21, 7:32 PM
Unknown Object (File)
Sat, Feb 21, 1:56 AM
Unknown Object (File)
Fri, Feb 20, 7:05 PM
Unknown Object (File)
Thu, Feb 5, 8:56 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Jan 26 2026, 8:13 PM

Reword the unclear and long sentence.

asomers requested changes to this revision.Jan 26 2026, 8:41 PM

I suggest a few wording changes. Also, fork->vfork, pdfork->pdrfork, and execfd->procdescp.

lib/libc/gen/posix_spawnattr_getprocdescp_np.3
42
46–47
48–49
50–57
59–63
67
68
71
76
This revision now requires changes to proceed.Jan 26 2026, 8:41 PM
kib marked 9 inline comments as done.Jan 26 2026, 9:20 PM
kib added inline comments.
lib/libc/gen/posix_spawnattr_getprocdescp_np.3
50–57

vfork is an implementation detail, that can change and that not relevant to the reader.
I listed all of them in one xref to make it not a point.

67

Well, it is pdfork(2) part of the procdesc man page that describes flags, and both pdrfork and this place reference it.
So I think it is more correct, and more future-proof if the pdrfork is moved into a separate man page.

This is my opinion, if you insist, I will change this.

kib marked 2 inline comments as done.

Alan' editing.

This revision is now accepted and ready to land.Jan 26 2026, 9:23 PM