Hi Gerriet, On Tue, Sep 11, 2012 at 9:55 AM, Gerriet M. Denkmann <gerriet@mdenkmann.de> wrote:
DriverServices.h says: AbsoluteToNanoseconds(AbsoluteTime absoluteTime) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA);
So what I am to use instead?
There is a function, extern void absolutetime_to_nanoseconds( uint64_t abstime, uint64_t *result); declared in <kern/clock.h>, which hasn't been marked deprecated and which is what AbsoluteToNanoseconds() uses internally. Hope that helps, phil _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com