import "acln.ro/ioctl"
Package ioctl provides facilities to define ioctl numbers and perform ioctls against file descriptors.
See the documentation at https://godoc.org/acln.ro/ioctl.
For the time being, pacakge ioctl is only tested and used on amd64
, and
arm
(thanks to @tv42), but it should work on other architectures too,
based on my (admittedly rather cursory) reading of Linux header files. Please
file a bug if the numbers are wrong for your architecture.
Package ioctl is pure Go, but running tests requires a C compiler and the
appropriate C headers. See internal/cgoioctl
.
Package ioctl presents itself as a Go module. The current version is v0.9.0.
Package ioctl is distributed under the ISC license. A copy of the license can be found in the LICENSE file.