diff options
Diffstat (limited to 'hurd/fs.defs')
-rw-r--r-- | hurd/fs.defs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hurd/fs.defs b/hurd/fs.defs index 461c3590..46206de7 100644 --- a/hurd/fs.defs +++ b/hurd/fs.defs @@ -94,8 +94,10 @@ routine file_utimes ( new_atime: time_value_t; new_mtime: time_value_t); -/* Truncate file */ -routine file_truncate ( +/* Change the size of the file. If the size increases, new blocks are + zero-filled. After successful return, it is safe to reference mapped + areas of the file up to NEW_SIZE. */ +routine file_set_size ( trunc_file: file_t; new_size: off_t); |