ioctl_fs - filesystem operations
Contents
Description
The following op values are available.
SharesomeofthedataofonefilewithanotherfileFICLONE(2const)
FICLONERANGE(2const)
FIDEDUPERANGE(2const)
OperationsforinodeflagsFS_IOC_GETFLAGS(2const)
FS_IOC_SETFLAGS(2const)
GetorsetafilesystemlabelFS_IOC_GETFSLABEL(2const)
FS_IOC_SETFSLABEL(2const)
Getand/orclearpageflagsPAGEMAP_SCAN(2const)
Library
Standard C library (libc, -lc)
Name
ioctl_fs - filesystem operations
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_fs(2)
Standards
Linux.
Synopsis
#include<linux/fs.h> /* Definition of op constants */
#include<sys/ioctl.h>intioctl(intfd,unsignedlongop,...);
