unix: add adjtimex return constants

Fixes golang/go#37234

Change-Id: I6deda79bc0b8f34c7bb210b64adabbfff5fe675e
Reviewed-on: https://go-review.googlesource.com/c/sys/+/219697
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
This commit is contained in:
Nikson Kanti Paul
2020-02-23 17:06:10 +00:00
committed by Tobias Klauser
parent cb0a6d8edb
commit d5e6a3e2c0
14 changed files with 140 additions and 0 deletions
+10
View File
@@ -406,6 +406,16 @@ type Timeval C.struct_timeval
type Timex C.struct_timex
const (
TIME_OK = C.TIME_OK
TIME_INS = C.TIME_INS
TIME_DEL = C.TIME_DEL
TIME_OOP = C.TIME_OOP
TIME_WAIT = C.TIME_WAIT
TIME_ERROR = C.TIME_ERROR
TIME_BAD = C.TIME_BAD
)
type Time_t C.time_t
type Tms C.struct_tms