Page MenuHomeFreeBSD

Add time2posix and posix2time to time.h
ClosedPublic

Authored by eadler on May 23 2018, 5:12 AM.
Tags
None
Referenced Files
F109209445: D15530.diff
Sun, Feb 2, 2:24 AM
Unknown Object (File)
Wed, Jan 29, 3:08 AM
Unknown Object (File)
Fri, Jan 17, 9:18 AM
Unknown Object (File)
Dec 29 2024, 2:17 AM
Unknown Object (File)
Dec 26 2024, 12:28 AM
Unknown Object (File)
Oct 29 2024, 9:04 PM
Unknown Object (File)
Oct 20 2024, 2:00 PM
Unknown Object (File)
Oct 20 2024, 2:00 PM
Subscribers
None

Details

Summary

These are documented in time2posix.3 but the symbols are not actually
visible. Since these are not POSIX hide them behind _BSD_VISIBLE.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 16777
Build 16663: arc lint + arc unit

Event Timeline

Seems pretty sensible to me. These functions are of the same ilk (tzcode inventions) as timelocal (standardized as mktime()) and timegm (standardized as that stupid formula in the POSIX spec).

This revision is now accepted and ready to land.May 23 2018, 7:23 PM
This revision was automatically updated to reflect the committed changes.