Back to index

glibc  2.9
setsockopt.c File Reference
#include <errno.h>
#include <sys/socket.h>
#include <hurd.h>
#include <hurd/socket.h>
#include <hurd/fd.h>

Go to the source code of this file.


int __setsockopt (int fd, int level, int optname, const void *optval, socklen_t optlen)

Function Documentation

int __setsockopt ( int  fd,
int  level,
int  optname,
const void *  optval,
socklen_t  optlen 

Definition at line 29 of file setsockopt.c.

  error_t err = HURD_DPORT_USE (fd, __socket_setopt (port,
                                               level, optname,
                                               optval, optlen));
  if (err)
    return __hurd_dfail (fd, err);
  return 0;

Here is the call graph for this function: