ioctl_fs(2) System Calls Manual ioctl_fs(2)

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.

On success, a nonnegative value is returned. On error, -1 is returned, and errno is set to indicate the error.

Linux.

ioctl(2)

2024-06-14 Linux man-pages 6.9.1