From 7babd3403a71eae8f9cca3c0da28dd8ad13b3011 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 17 Sep 1995 22:02:18 +0000 Subject: (file_truncate): RPC renamed to file_set_size. --- hurd/fs.defs | 6 ++++-- 1 file 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); -- cgit v1.2.3