gioctl

package module
Version: v0.0.0-...-0a268ca Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2015 License: MIT Imports: 1 Imported by: 0

README

gioctl GoDoc

Simple library which provides golang versions of the ioctl macros in linux.

References

License

This code is Copyright (c) 2014 Mark Wolfe and licenced under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.md file for more details.

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.

Source Files

Jump to

Keyboard shortcuts

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