|
AquilaOS documentation
How it works, and its code
|
The generic open operation for files that are vnodes. More...
Go to the source code of this file.
Functions | |
| int | posix_file_open (struct file *file) |
| Finishes opening a file: with O_TRUNC, a regular file is truncated to 0 bytes. | |
The generic open operation for files that are vnodes.
Definition in file open.c.
| int posix_file_open | ( | struct file * | file | ) |
Finishes opening a file: with O_TRUNC, a regular file is truncated to 0 bytes.
| file | the file being opened |
Definition at line 17 of file open.c.
References file::flags, posix_file_open(), and vfs_file_trunc().
Referenced by kmsg_file_open(), posix_file_open(), ps2mouse_file_open(), and pts_open().