Module kernel::file

source · []
Expand description

Files and file descriptors.

C headers: include/linux/fs.h and include/linux/file.h

Modules

Flags associated with a File.

Structs

Wraps the kernel’s struct file.

A file descriptor reservation.

Represents an ioctl command.

Wraps the kernel’s struct poll_table_struct.

Enums

Traits

Allows the handling of ioctls defined with the _IO, _IOR, _IOW, and _IOWR macros.

Trait for extracting file open arguments from kernel data structures.

Corresponds to the kernel’s struct file_operations.

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.