Back to index

glibc  2.9
Functions
send.c File Reference
#include <errno.h>
#include <sys/socket.h>
#include <sysdep-cancel.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 25 of file send.c.

{
  if (SINGLE_THREAD_P)
    return INLINE_SYSCALL (sendto, 6, fd, buf, n, flags, NULL, (size_t) 0);

  int oldtype = LIBC_CANCEL_ASYNC ();

  ssize_t result = INLINE_SYSCALL (sendto, 6, fd, buf, n, flags, NULL,
                               (size_t) 0);

  LIBC_CANCEL_RESET (oldtype);

  return result;
}

Here is the call graph for this function: