Historically, sigtimedwait() blocks indefinitely if timeout is NULL.
Details
Details
- Reviewers
imp jilles - Group Reviewers
manpages - Commits
- rGf482354a8636: Fix sigtimedwait manpage.
rG89ecdff2c32c: Fix sigtimedwait manpage.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
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.