Back to index

glibc  2.9
Functions
ptsname_r_chk.c File Reference
#include <stdlib.h>

Go to the source code of this file.

Functions

int __ptsname_r_chk (int fd, char *buf, size_t buflen, size_t nreal)

Function Documentation

int __ptsname_r_chk ( int  fd,
char *  buf,
size_t  buflen,
size_t  nreal 
)

Definition at line 23 of file ptsname_r_chk.c.

{
  if (buflen > nreal)
    __chk_fail ();

  return __ptsname_r (fd, buf, buflen);
}

Here is the call graph for this function: