Scroll to navigation

ioctl_fs(2) System Calls Manual ioctl_fs(2)

NAME

ioctl_fs - 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.

Share some of the data of one file with another file

Operations for inode flags

Get or set a filesystem label

Get and/or clear page flags

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

ioctl(2)

2024-07-23 Linux man-pages (unreleased)