Back to index

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

Go to the source code of this file.

Functions

ssize_t recv (int fd, void *buf, size_t n, int flags)
ssize_t __recv (int fd, void *buf, size_t n, int flags)

Function Documentation

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

Definition at line 25 of file recv.c.

{
  return recv (fd, buf, n, flags);
}

Here is the call graph for this function:

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

Definition at line 35 of file socket2.h.

{
  if (__bos0 (__buf) != (size_t) -1)
    {
      if (!__builtin_constant_p (__n))
       return __recv_chk (__fd, __buf, __n, __bos0 (__buf), __flags);

      if (__n > __bos0 (__buf))
       return __recv_chk_warn (__fd, __buf, __n, __bos0 (__buf), __flags);
    }
  return __recv_alias (__fd, __buf, __n, __flags);
}

Here is the caller graph for this function: