Page MenuHomeFreeBSD

Fix sigtimedwait manpage.
ClosedPublic

Authored by dchagin on Apr 20 2022, 6:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 17 2025, 6:58 PM
Unknown Object (File)
Mar 12 2025, 12:16 AM
Unknown Object (File)
Feb 25 2025, 8:16 PM
Unknown Object (File)
Feb 25 2025, 11:53 AM
Unknown Object (File)
Feb 25 2025, 5:36 AM
Unknown Object (File)
Feb 25 2025, 1:08 AM
Unknown Object (File)
Feb 24 2025, 3:08 PM
Unknown Object (File)
Jan 30 2025, 10:13 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45287
Build 42175: arc lint + arc unit

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.