AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
ioctl.c
Go to the documentation of this file.
1
4
5#include <core/system.h>
6
7#include <fs/vfs.h>
8#include <aquila/errno.h>
9
19int posix_file_ioctl(struct file *file, int request, void *argp)
20{
21 return vfs_ioctl(file->vnode, request, argp);
22}
int vfs_ioctl(struct vnode *vnode, unsigned long request, void *argp)
Passes an ioctl() request to a vnode's device driver, or to its filesystem.
Definition ioctl.c:19
int posix_file_ioctl(struct file *file, int request, void *argp)
Passes an ioctl() request on to the file's vnode (a device's, or its filesystem's).
Definition ioctl.c:19
An open file (POSIX's "open file description", fs/file.c).
Definition vfs.h:157