package ioctl
import "github.com/hanwen/go-fuse/v2/internal/ioctl"
Index ¶
Constants ¶
const ( NONE = 0x0 READ = 0x1 WRITE = 0x2 )
Types ¶
type Command ¶
type Command uint32
The ioctl command. It encodes direction (read/write), argument size and a type/number, where type should be globally unique and number is unique to the driver.
func New ¶
New constructs an ioctl command. size should be less than 16kb.
func (Command) Number ¶
Number returns the lower 8 bits of the command
func (Command) Read ¶
Read returns true if the ioctl reads data
func (Command) Type ¶
Type returns the upper 8 bits of the command
func (Command) Write ¶
Write returns true if the ioctl writes data
Source Files ¶
- Version
- v2.8.0 (latest)
- Published
- Jun 11, 2025
- Platform
- linux/amd64
- Last checked
- 8 hours ago –
Tools for package owners.