Page MenuHomeFreeBSD

Fix sigtimedwait manpage.
ClosedPublic

Authored by dchagin on Apr 20 2022, 6:53 PM.
Tags
None
Referenced Files
F171283727: D34985.diff
Thu, Sep 10, 3:21 AM
Unknown Object (File)
Tue, Aug 25, 12:30 PM
Unknown Object (File)
Mon, Aug 24, 9:16 PM
Unknown Object (File)
Mon, Aug 24, 11:06 AM
Unknown Object (File)
Mon, Aug 24, 10:36 AM
Unknown Object (File)
Wed, Aug 12, 9:18 AM
Unknown Object (File)
Aug 4 2026, 8:26 AM
Unknown Object (File)
Aug 4 2026, 1:59 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 45257
Build 42145: 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.