logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ioctl_fs - filesystem operations

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,...);

See Also