equal
deleted
inserted
replaced
550 return |
550 return |
551 } |
551 } |
552 |
552 |
553 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
553 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
554 |
554 |
|
555 func ClockGettime(clockid int32, time *Timespec) (err error) { |
|
556 _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0) |
|
557 if e1 != 0 { |
|
558 err = errnoErr(e1) |
|
559 } |
|
560 return |
|
561 } |
|
562 |
|
563 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
|
564 |
555 func Close(fd int) (err error) { |
565 func Close(fd int) (err error) { |
556 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0) |
566 _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0) |
557 if e1 != 0 { |
567 if e1 != 0 { |
558 err = errnoErr(e1) |
568 err = errnoErr(e1) |
559 } |
569 } |