util

package
v0.0.0-...-b9252dc Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Overview

Package util contains helper functions for tpuproxy implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IOCTLInvoke

func IOCTLInvoke[Cmd, Arg constraints.Integer](hostFd int32, cmd Cmd, arg Arg) (uintptr, error)

IOCTLInvoke makes ioctl syscalls with the arg of the integer type.

func IOCTLInvokePtrArg

func IOCTLInvokePtrArg[Cmd constraints.Integer, Params any](hostFd int32, cmd Cmd, params *Params) (uintptr, error)

IOCTLInvokePtrArg makes ioctl syscalls with the command of the integer type and the pointer to any given params.

Types

This section is empty.

Jump to

Keyboard shortcuts

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