devices

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotSupported = fmt.Errorf("not supported")

Functions

func DeviceInfo

func DeviceInfo(fi os.FileInfo) (uint64, uint64, error)

func Mknod

func Mknod(p string, mode os.FileMode, maj, min int) error

mknod provides a shortcut for syscall.Mknod

Types

This section is empty.

Jump to

Keyboard shortcuts

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