vmtruncate(9)

vmtruncate9

Unmap mappings “freed” by truncate syscall

Usage

int vmtruncate(struct inode * inode, loff_t newsize);

Arguments

inode

inode of the file used

newsize

file offset to start truncating

Overview

This function is deprecated and truncate_setsize or truncate_pagecache should be used instead, together with filesystem specific block truncation.

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From linux-manual-3.2 3.2.78-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.