ioctl_fs − filesystem operations
Standard C library (libc, −lc)
#include
<linux/fs.h> /* Definition of op constants */
#include <sys/ioctl.h>
int ioctl(int fd, unsigned long op, ...);
The following op values are available.
FICLONE(2const)
FICLONERANGE(2const)
FIDEDUPERANGE(2const)
FS_IOC_GETFLAGS(2const)
FS_IOC_SETFLAGS(2const)
FS_IOC_GETFSLABEL(2const)
FS_IOC_SETFSLABEL(2const)
PAGEMAP_SCAN(2const)
On success, a nonnegative value is returned. On error, −1 is returned, and errno is set to indicate the error.
Linux.
ioctl(2)