Current Location: Home> Function Categories> ftruncate

ftruncate

Truncate the file to a given length
Name:ftruncate
Category:File system
Programming Language:php
One-line Description:Truncate the file to the specified length.
Similar Functions
  • Modify all groups of symbolic links lchgrp

    lchgrp

    Modifyallgroupsofsym
  • Read a line from a file pointer and filter out HTML tags fgetss

    fgetss

    Readalinefromafilepo
  • Read the entire file into an array file

    file

    Readtheentirefileint
  • Get file modification time filemtime

    filemtime

    Getfilemodificationt
  • alias for disk_free_space diskfreespace

    diskfreespace

    aliasfordisk_free_sp
  • Returns the normalized absolute path name realpath

    realpath

    Returnsthenormalized
  • Change the current umask umask

    umask

    Changethecurrentumas
  • Get the last access time of the file fileatime

    fileatime

    Getthelastaccesstime