ioctl

package
v0.0.0-...-c1be29f Latest Latest
Warning

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

Go to latest
Published: May 23, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package ioctl implements the ioctl syscall for Raspberry Pi device.

Currently only Raspberry Pi OS (linux) is explicitly supported.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IO

func IO(typ, nr uint) uint

IO defines an ioctl with no parameters. It corresponds to _IO in the Linux userland API.

func IOR

func IOR(typ, nr, size uint) uint

IOR defines an ioctl with read (userland perspective) parameters. It corresponds to _IOR in the Linux userland API.

func IOW

func IOW(typ, nr, size uint) uint

IOW defines an ioctl with write (userland perspective) parameters. It corresponds to _IOW in the Linux userland API.

func IOWR

func IOWR(typ, nr, size uint) uint

IOWR defines an ioctl with both read and write parameters. It corresponds to _IOWR in the Linux userland API.

func Ioctl

func Ioctl(fd uintptr, op uintptr, arg uintptr) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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