site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=QyI0PCYpNlSS6Lt5N9GNOLR6unR3MUty4JW3CnmnwcZ0bt4fq9MAhnvZc8Hn/BbPuoFdKMahVui+9ZPsz6O1tmhQIvFAsPX/MStp9JXHIyqarO2JYK6MtcwgzqiO7JhBqM288Ea5wgwPAt8BrSU1JJHG4QhRE2h5mbWC92WRAC0=
I was wondering if there is a way to get the current time of the day it is on the system from within a kernel extension I am writing.
You can follow the code for gettimeofday() and just call
Is there an equivalent to this for getting the error estimate that ntp_adjtime() gives? -- Sean Peisert http://www.sdsc.edu/~peisert/ Fellow, San Diego Supercomputer Center University of California, San Diego _______________________________________________ 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: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com