Back to index

glibc  2.9
Defines | Functions
posix_fadvise.c File Reference
#include <errno.h>
#include <fcntl.h>
#include <sysdep.h>

Go to the source code of this file.


#define posix_fadvise64   __no_posix_fadvise64


int posix_fadvise (int fd, off_t offset, off_t len, int advise)

Define Documentation

#define posix_fadvise64   __no_posix_fadvise64

Definition at line 19 of file posix_fadvise.c.

Function Documentation

int posix_fadvise ( int  fd,
off_t  offset,
off_t  len,
int  advise 

Definition at line 29 of file posix_fadvise.c.

#ifdef __NR_fadvise64
  int ret = INTERNAL_SYSCALL (fadvise64, err, 4, fd, offset, len, advise);
  if (INTERNAL_SYSCALL_ERROR_P (ret, err))
    return INTERNAL_SYSCALL_ERRNO (ret, err);
  return 0;
  return ENOSYS;

Here is the call graph for this function: