> On 20/08/2016, at 4:19 AM, Miroslav Lichvar <mlich...@redhat.com> wrote:
> 
> I knew there would be something :). Thanks.

You’re welcome and I’m happy to contribute :)

I found the new headers - looks like full support for clock_gettime() in macOS 
10.12

__CLOCK_AVAILABILITY
int clock_getres(clockid_t __clock_id, struct timespec *__res);

__CLOCK_AVAILABILITY
int clock_gettime(clockid_t __clock_id, struct timespec *__tp);

#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
__CLOCK_AVAILABILITY
__uint64_t clock_gettime_nsec_np(clockid_t __clock_id);
#endif

__OSX_AVAILABLE(10.12) __IOS_PROHIBITED
__TVOS_PROHIBITED __WATCHOS_PROHIBITED
int clock_settime(clockid_t __clock_id, const struct timespec *__tp);


Couldn’t find anything other than adjtime() for clock adjustment.

Now I know what the problem is, I’ll have to figure out how to setup my IDE to 
use the old headers :)

Bryan Christianson
br...@whatroute.net




--
To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe" 
in the subject.
For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the 
subject.
Trouble?  Email listmas...@chrony.tuxfamily.org.

Reply via email to