Page MenuHomeFreeBSD

Add time2posix and posix2time to time.h
ClosedPublic

Authored by eadler on May 23 2018, 5:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 26, 10:51 PM
Unknown Object (File)
Sat, Jul 25, 2:09 AM
Unknown Object (File)
Fri, Jul 24, 10:46 PM
Unknown Object (File)
Wed, Jul 22, 1:51 PM
Unknown Object (File)
Tue, Jul 21, 9:00 AM
Unknown Object (File)
Sat, Jul 18, 11:03 PM
Unknown Object (File)
Sat, Jul 18, 7:43 AM
Unknown Object (File)
Mon, Jul 13, 11:20 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.