Back to index

glibc  2.9
Functions
recv_chk.c File Reference
#include <sys/param.h>
#include <sys/socket.h>

Go to the source code of this file.

Functions

ssize_t __recv_chk (int fd, void *buf, size_t n, size_t buflen, int flags)

Function Documentation

ssize_t __recv_chk ( int  fd,
void *  buf,
size_t  n,
size_t  buflen,
int  flags 
)

Definition at line 24 of file recv_chk.c.

{
  if (n > buflen)
    __chk_fail ();

  return __recv (fd, buf, n, flags);
}

Here is the call graph for this function:

Here is the caller graph for this function: