Page MenuHomeFreeBSD

Add timerisvalid() from OpenBSD
AbandonedPublic

Authored by gbe on Jun 30 2020, 9:25 PM.

Details

Reviewers
None
Group Reviewers
manpages
Summary

Add timerisvalid() from OpenBSD

Test Plan

make buildkernel and mandoc output review

Diff Detail

Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 32091
Build 29610: arc lint + arc unit

Event Timeline

gbe requested review of this revision.Jun 30 2020, 9:25 PM
gbe created this revision.
greg_unrelenting.technology added inline comments.
share/man/man3/timeradd.3
36

s/time/timer in here?

Should we also do a MLINKS+= timeradd.3 timerisvalid.3 in share/man/man3/Makefile?

  • Hock up timerisvalid to the Makefile

Should we also do a MLINKS+= timeradd.3 timerisvalid.3 in share/man/man3/Makefile?

Done! :)

Since struct timeval is mostly obsoleted by struct timespec, I suggest adding this only when there is existing code using it.

share/man/man3/timeradd.3
55

struct timespec is not what is actually implemented.