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.
Click to show internal directories.
Click to hide internal directories.