Use the IoctlRetInt, IoctlSetInt and IoctlLoopSetStatus64 helper functions defined in the golang.org/x/sys/unix package instead of manually wrapping these using a locally defined ioctl function. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
T.TempDir
go fmt