AquilaOS documentation
How it works, and its code
Toggle main menu visibility
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
19
int
posix_file_ioctl
(
struct
file
*
file
,
int
request,
void
*argp)
20
{
21
return
vfs_ioctl
(
file
->vnode, request, argp);
22
}
system.h
vfs_ioctl
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
posix_file_ioctl
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
file
An open file (POSIX's "open file description", fs/file.c).
Definition
vfs.h:157
vfs.h
kernel
fs
posix
ioctl.c
Generated by
1.18.0