AquilaOS documentation
How it works, and its code
Toggle main menu visibility
Loading...
Searching...
No Matches
close.c
Go to the documentation of this file.
1
4
5
#include <
core/system.h
>
6
#include <
fs/vfs.h
>
7
#include <
fs/posix.h
>
8
15
int
posix_file_close
(
struct
file
*
file
)
16
{
17
return
vfs_close
(
file
->vnode);
18
}
vfs_close
int vfs_close(struct vnode *vnode)
Drops a reference to a vnode.
Definition
close.c:18
system.h
posix_file_close
int posix_file_close(struct file *file)
Closes an open file by dropping its reference to its vnode.
Definition
close.c:15
posix.h
file
An open file (POSIX's "open file description", fs/file.c).
Definition
vfs.h:157
vfs.h
kernel
fs
posix
close.c
Generated by
1.18.0