FileSystem.ioctl

Ioctl.

flags will have FUSE_IOCTL_COMPAT set for 32bit ioctls in 64bit environment. The size and direction of data is determined by _IOC_*() decoding of cmd. For _IOC_NONE, data will be NULL, for _IOC_WRITE data is out area, for _IOC_READ in area and if both are set in/out area. In all non-NULL cases, the area is of _IOC_SIZE(cmd) bytes.

If flags has FUSE_IOCTL_DIR then the ffi_t refers to a directory file handle.

Note: the unsigned long request submitted by the application is truncated to 32 bits.

class FileSystem
@null
void
ioctl
(
string p
,
uint cmd
,
void* arg
,,
uint flags
,
void* data
)

Meta