summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-09-17 22:02:18 +0000
committerRoland McGrath <roland@gnu.org>1995-09-17 22:02:18 +0000
commit7babd3403a71eae8f9cca3c0da28dd8ad13b3011 (patch)
tree015cb57b1c8e2db5bf26814612fdc9426c9694fd /hurd
parent6d4dcf9bac565ecd648e0e33d7eceb59542f10ac (diff)
(file_truncate): RPC renamed to file_set_size.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/fs.defs6
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);