Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

ioctl_fat - manipulating the FAT filesystem

Description

The ioctl(2) system call can be used to read and write metadata of FAT filesystems that are not accessible using other system calls. The following op values are available. ReadingandsettingfileattributesFAT_IOCTL_GET_ATTRIBUTES(2const) FAT_IOCTL_SET_ATTRIBUTES(2const) ReadingthevolumeIDFAT_IOCTL_GET_VOLUME_ID(2const) ReadingshortfilenamesofadirectoryVFAT_IOCTL_READDIR_BOTH(2const) VFAT_IOCTL_READDIR_SHORT(2const)

Errors

ENOTTY The file descriptor fd does not refer to an object in a FAT filesystem.

Library

Standard C library (libc, -lc)

Name

ioctl_fat - manipulating the FAT filesystem

Return Value

On success, a nonnegative value is returned. On error, -1 is returned, and errno is set to indicate the error.

See Also

ioctl(2) Linux man-pages 6.9.1 2024-06-14 ioctl_fat(2)

Standards

Linux.

Synopsis

#include<sys/ioctl.h>intioctl(intfd,unsignedlongop,...);

See Also