1VMTRUNCATE(9) Memory Management in Linux VMTRUNCATE(9)
23
4
NAME
6vmtruncate - unmap mappings “freed” by truncate syscall
7
SYNOPSIS
9int vmtruncate(struct inode * inode, loff_t newsize);
10
ARGUMENTS
12inode
13inode of the file used
1415
newsize
16file offset to start truncating
17
DESCRIPTION
19This function is deprecated and truncate_setsize or truncate_pagecache
20should be used instead, together with filesystem specific block
21truncation.
22
COPYRIGHT
24Kernel Hackers Manual 2.6. June 2019 VMTRUNCATE(9)