equal
deleted
inserted
replaced
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 } |