Page MenuHomeFreeBSD

Fix sigtimedwait manpage.
ClosedPublic

Authored by dchagin on Apr 20 2022, 6:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 12, 12:23 AM
Unknown Object (File)
Fri, Jul 10, 4:20 PM
Unknown Object (File)
Fri, Jul 10, 9:07 AM
Unknown Object (File)
Tue, Jun 30, 7:12 PM
Unknown Object (File)
Mon, Jun 29, 2:30 PM
Unknown Object (File)
Mon, Jun 29, 1:33 AM
Unknown Object (File)
Fri, Jun 26, 3:48 AM
Unknown Object (File)
Thu, Jun 25, 11:12 PM
Subscribers

Details

Summary

Historically, sigtimedwait() blocks indefinitely if timeout is NULL.

Diff Detail

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

Event Timeline

POSIX indeed leaves this behavior unspecified, but Linux chooses the same as we do. Might want to add something like

POSIX leaves the behavior of
.Fn sigtimedwait
with a
.Dv NULL
.Fa timeout
pointer unspecified.

to the STANDARDS section.

This revision is now accepted and ready to land.Apr 20 2022, 9:26 PM
This revision was automatically updated to reflect the committed changes.