Back to index

glibc  2.9
ftruncate64.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 __ftruncate64 (int fd, off64_t length)

Function Documentation

int __ftruncate64 ( int  fd,
off64_t  length 

Definition at line 25 of file ftruncate64.c.

  if ((off_t) length != length)
      __set_errno (EINVAL);
      return -1;
  return __ftruncate (fd, (off_t) length);

Here is the call graph for this function: