Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use IoctlSetPointerInt from golang.org/x/sys/unix
Use unix.IoctlSetPointerInt instead of manually implementing it. This fixes the build on darwin where direct syscalls, i.e. unix.Syscall(SYS_IOCTL, ...) are no longer allowed and exported as of golang/sys@6fcdbc0
- Loading branch information