vendor/golang.org/x/sys/unix/zsyscall_linux.go
changeset 272 e9ffa471eeb3
parent 265 05c40b36d3b2
child 274 cea6d2f4f728
equal deleted inserted replaced
271:c8b8b7cc8896 272:e9ffa471eeb3
   535 	return
   535 	return
   536 }
   536 }
   537 
   537 
   538 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   538 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
   539 
   539 
       
   540 func ClockAdjtime(clockid int32, buf *Timex) (state int, err error) {
       
   541 	r0, _, e1 := Syscall(SYS_CLOCK_ADJTIME, uintptr(clockid), uintptr(unsafe.Pointer(buf)), 0)
       
   542 	state = int(r0)
       
   543 	if e1 != 0 {
       
   544 		err = errnoErr(e1)
       
   545 	}
       
   546 	return
       
   547 }
       
   548 
       
   549 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
       
   550 
   540 func ClockGetres(clockid int32, res *Timespec) (err error) {
   551 func ClockGetres(clockid int32, res *Timespec) (err error) {
   541 	_, _, e1 := Syscall(SYS_CLOCK_GETRES, uintptr(clockid), uintptr(unsafe.Pointer(res)), 0)
   552 	_, _, e1 := Syscall(SYS_CLOCK_GETRES, uintptr(clockid), uintptr(unsafe.Pointer(res)), 0)
   542 	if e1 != 0 {
   553 	if e1 != 0 {
   543 		err = errnoErr(e1)
   554 		err = errnoErr(e1)
   544 	}
   555 	}