Portable build framework for OpenNTPD
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
387 B

/*
* This file is in the public domain.
*
* OS X does not appear to provide a mechanism to adjust the time frequency, or
* at least not one that is easy to discover. Always fail here until a suitable
* implementation is found.
*/
#include <sys/time.h>
#include <sys/types.h>
#include <errno.h>
int
adjfreq(const int64_t *freq, int64_t *oldfreq)
{
errno = ENOSYS;
return -1;
}