ioctl

package
v0.0.0-...-c5a4fc9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2020 License: MIT, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Io

func Io(t, nr uintptr) uintptr

Io used for a simple ioctl that sends nothing but the type and number, and receives back nothing but an (integer) retval.

func IoR

func IoR(t, nr, size uintptr) uintptr

IoR used for an ioctl that reads data from the device driver. The driver will be allowed to return sizeof(data_type) bytes to the user.

func IoRW

func IoRW(t, nr, size uintptr) uintptr

IoRW a combination of IoR and IoW. That is, data is both written to the driver and then read back from the driver by the client.

func IoW

func IoW(t, nr, size uintptr) uintptr

IoW used for an ioctl that writes data to the device driver.

func Ioctl

func Ioctl(fd, op, arg uintptr) error

Ioctl simplified ioct call

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL