Page MenuHomeFreeBSD

Fix sigtimedwait manpage.
ClosedPublic

Authored by dchagin on Apr 20 2022, 6:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 3:12 AM
Unknown Object (File)
Sat, Apr 6, 8:03 AM
Unknown Object (File)
Feb 29 2024, 8:31 AM
Unknown Object (File)
Feb 9 2024, 5:22 PM
Unknown Object (File)
Jan 29 2024, 11:17 PM
Unknown Object (File)
Jan 6 2024, 4:07 PM
Unknown Object (File)
Dec 23 2023, 9:11 PM
Unknown Object (File)
Dec 23 2023, 12:00 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.