Back to index

glibc  2.9
posix_fadvise64.c File Reference
#include <errno.h>
#include <fcntl.h>
#include <sysdep.h>
#include <shlib-compat.h>

Go to the source code of this file.


int __posix_fadvise64_l64 (int fd, off64_t offset, off64_t len, int advise)
 strong_alias (__posix_fadvise64_l64, posix_fadvise64)

Function Documentation

int __posix_fadvise64_l64 ( int  fd,
off64_t  offset,
off64_t  len,
int  advise 

Definition at line 27 of file posix_fadvise64.c.

/* MIPS kernel only has NR_fadvise64 which acts as NR_fadvise64_64 */
#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: