Re: buglet - Re: [chrony-dev] [GIT] chrony/chrony.git branch master updated. 2.4-41-g7a1ebc3 |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: buglet - Re: [chrony-dev] [GIT] chrony/chrony.git branch master updated. 2.4-41-g7a1ebc3
- From: Bryan Christianson <bryan@xxxxxxxxxxxxx>
- Date: Sat, 20 Aug 2016 04:28:30 +1200
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpcorp.com; s=a0-2; h=Feedback-ID:X-Smtpcorp-Track:To:Message-Id:Date: From:Subject:List-Unsubscribe:Reply-To; bh=JhkHSJs6FlpRLi7xPiwI3e0+8HuOvKIKj0vY3F52imE=; b=r7ylwcyuCMsg33UZ9AO7u46CGM 1tn3v9hJpR+/0r25Kn9B9oO7sr2fnPJ2ta1h2hw2mv/PFGlTR6wu1bsvBGYdnV4oMQibaBVM8oh9Z R4A5qld81aSsezprdJjWWCo2eRNhR71L+u+vu3/MruEQFq9dke9ecKOL5uqUqTbY5efXy2mtiYp+A sYuQ7f9EVKjxOYloUIDknHHHfRDfhpcSi0zXkSR7MiQD3oi6IRTllfuCM1tx00yepCzRLOvFO1ymV u1mOgs6P6GtIo3rR94xJhvLhSBZz4QdHHaOuDLQzyjfekNhdJ9XNTBsnIM7CH0VdaI413CozmjPvx SvIsakqw==;
- Feedback-id: 149811m:149811acx33YQ:149811sV7PAu3icZ:SMTPCORP
> On 20/08/2016, at 4:19 AM, Miroslav Lichvar <mlichvar@xxxxxxxxxx> 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
bryan@xxxxxxxxxxxxx
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.