Date: Fri, 25 May 2018 13:40:05 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334207 - head/include Message-ID: <201805251340.w4PDe5ml007636@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Fri May 25 13:40:05 2018 New Revision: 334207 URL: https://svnweb.freebsd.org/changeset/base/334207 Log: Add time2posix and posix2time to time.h These are documented in `time2posix.3` but the symbols are not actually visible. Since these are not POSIX hide them behind _BSD_VISIBLE. Reviewed by: wollman Differential Revision: https://reviews.freebsd.org/D15530 Modified: head/include/time.h Modified: head/include/time.h ============================================================================== --- head/include/time.h Fri May 25 11:49:21 2018 (r334206) +++ head/include/time.h Fri May 25 13:40:05 2018 (r334207) @@ -199,6 +199,8 @@ void tzsetwall(void); time_t timelocal(struct tm * const); time_t timegm(struct tm * const); int timer_oshandle_np(timer_t timerid); +time_t time2posix(time_t t); +time_t posix2time(time_t t); #endif /* __BSD_VISIBLE */ #if __POSIX_VISIBLE >= 200809 || defined(_XLOCALE_H_)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805251340.w4PDe5ml007636>