Page MenuHomeFreeBSD

Fix sigtimedwait manpage.
ClosedPublic

Authored by dchagin on Apr 20 2022, 6:53 PM.
Tags
None
Referenced Files
F107872993: D34985.id105215.diff
Sat, Jan 18, 9:50 PM
F107770600: D34985.id105245.diff
Sat, Jan 18, 2:14 AM
Unknown Object (File)
Tue, Jan 14, 2:28 AM
Unknown Object (File)
Fri, Jan 10, 10:34 AM
Unknown Object (File)
Fri, Jan 10, 9:38 AM
Unknown Object (File)
Fri, Jan 10, 4:22 AM
Unknown Object (File)
Dec 17 2024, 1:11 AM
Unknown Object (File)
Dec 6 2024, 8:43 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.