Back to index

glibc  2.9
truncate64.c File Reference
#include <sys/types.h>
#include <errno.h>
#include <unistd.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


int truncate64 (char *path, off64_t length) const

Function Documentation

int truncate64 ( char *  path,
off64_t  length 
) const

Definition at line 25 of file truncate64.c.

  if ((off_t) length != length)
      __set_errno (EINVAL);
      return -1;
  return __truncate (path, (off_t) length);

Here is the call graph for this function: