ioctl_fs - Man Page
filesystem operations
Library
Standard C library (libc, -lc)
Synopsis
#include <linux/fs.h> /* Definition of op constants */ #include <sys/ioctl.h> int ioctl(int fd, unsigned long op, ...);
Description
The following op values are available.
Operations for inode flags
FS_IOC_GETFLAGS(2const)
FS_IOC_SETFLAGS(2const)
Get or set a filesystem label
FS_IOC_GETFSLABEL(2const)
FS_IOC_SETFSLABEL(2const)
Get and/or clear page flags
PAGEMAP_SCAN(2const)
Return Value
On success, a nonnegative value is returned. On error, -1 is returned, and errno is set to indicate the error.
Standards
Linux.
See Also
Referenced By
2024-06-14 Linux man-pages 6.9.1