table of contents
other versions
- wheezy 3.2.78-1
VMTRUNCATE(9) | Memory Management in Linux | VMTRUNCATE(9) |
NAME¶
vmtruncate - unmap mappings “freed” by truncate syscallSYNOPSIS¶
int
vmtruncate(struct inode * inode,
loff_t newsize);
ARGUMENTS¶
inodeinode of the file used
newsize
file offset to start truncating
DESCRIPTION¶
This function is deprecated and truncate_setsize or truncate_pagecache should be used instead, together with filesystem specific block truncation.COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |