summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-08-25 16:58:13 -0700
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-08-26 20:46:48 +0200
commitc6e8f34a358f846aa15cb9f53251da3d6668abd1 (patch)
tree4d2647f62902a9969bd631af49de10a74f2b7a4b /include
parenta15c934313bfa30a0b341c22e5a88a734d011bf8 (diff)
timex: Sync with glibc
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/sys/timex.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/sys/timex.h b/include/sys/timex.h
index 9082a28fd..57059bd14 100644
--- a/include/sys/timex.h
+++ b/include/sys/timex.h
@@ -67,8 +67,12 @@ struct timex
#define ADJ_ESTERROR 0x0008 /* estimated time error */
#define ADJ_STATUS 0x0010 /* clock status */
#define ADJ_TIMECONST 0x0020 /* pll time constant */
-#define ADJ_TICK 0x4000 /* tick value */
-#define ADJ_OFFSET_SINGLESHOT 0x8001 /* old-fashioned adjtime */
+#define ADJ_TAI 0x0080 /* set TAI offset */
+#define ADJ_MICRO 0x1000 /* select microsecond resolution */
+#define ADJ_NANO 0x2000 /* select nanosecond resolution */
+#define ADJ_TICK 0x4000 /* tick value */
+#define ADJ_OFFSET_SINGLESHOT 0x8001 /* old-fashioned adjtime */
+#define ADJ_OFFSET_SS_READ 0xa001 /* read-only adjtime */
/* xntp 3.4 compatibility names */
#define MOD_OFFSET ADJ_OFFSET