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)
Sun, Sep 6, 11:40 PM
Unknown Object (File)
Sun, Sep 6, 1:32 PM
Unknown Object (File)
Sun, Sep 6, 1:11 PM
Unknown Object (File)
Thu, Sep 3, 8:46 AM
Unknown Object (File)
Thu, Sep 3, 8:43 AM
Unknown Object (File)
Thu, Sep 3, 8:41 AM
Unknown Object (File)
Thu, Sep 3, 5:06 AM
Unknown Object (File)
Thu, Sep 3, 1:57 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