Back to index

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

Go to the source code of this file.


ssize_t __readlink_chk (const char *path, void *buf, size_t len, size_t buflen)

Function Documentation

ssize_t __readlink_chk ( const char *  path,
void *  buf,
size_t  len,
size_t  buflen 

Definition at line 28 of file readlink_chk.c.

  if (len > buflen)
    __chk_fail ();

  return INLINE_SYSCALL (readlink, 3, path, buf, len);
  return __readlink (path, buf, len);

Here is the call graph for this function: