Back to index

glibc  2.9
pread64_chk.c File Reference
#include <unistd.h>
#include <sys/param.h>

Go to the source code of this file.


ssize_t __pread64_chk (int fd, void *buf, size_t nbytes, off64_t offset, size_t buflen)

Function Documentation

ssize_t __pread64_chk ( int  fd,
void *  buf,
size_t  nbytes,
off64_t  offset,
size_t  buflen 

Definition at line 24 of file pread64_chk.c.

  if (nbytes > buflen)
    __chk_fail ();

  return __libc_pread64 (fd, buf, nbytes, offset);

Here is the call graph for this function: