|
AquilaOS documentation
How it works, and its code
|
The generic truncate operation for files that are vnodes. More...
Go to the source code of this file.
Functions | |
| int | posix_file_trunc (struct file *file, off_t len) |
| Truncates (or extends) an open file to a new length. | |
The generic truncate operation for files that are vnodes.
Definition in file trunc.c.
Truncates (or extends) an open file to a new length.
| file | the open file |
| len | the new length, in bytes |
Definition at line 16 of file trunc.c.
References posix_file_trunc(), and vfs_trunc().
Referenced by posix_file_trunc().