Back to index

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

Go to the source code of this file.


char * __getcwd_chk (char *buf, size_t size, size_t buflen)

Function Documentation

char* __getcwd_chk ( char *  buf,
size_t  size,
size_t  buflen 

Definition at line 25 of file getcwd_chk.c.

  if (size > buflen)
    __chk_fail ();

  return __getcwd (buf, size);

Here is the call graph for this function: