$manlookup

ioctl_fat

(2)

manipulating the FAT filesystem

System callsmanpages-dev 6.9.1-1
#include <sys/ioctl.h> int ioctl(int fd, unsigned long op, ...);

LIBRARY

Standard C library (libc, -lc)

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.

RETURN VALUE

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

ERRORS

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

STANDARDS

Linux.

See also