Tor  0.4.6.0-alpha-dev
Macros
socketpair.c File Reference

Replacement socketpair() for systems that lack it. More...

#include "lib/cc/torint.h"
#include "lib/net/socketpair.h"
#include "lib/net/inaddr_st.h"
#include "lib/arch/bytes.h"
#include <errno.h>
#include <string.h>

Go to the source code of this file.

Macros

#define closesocket(x)   close(x)
 
#define socket_errno()   (errno)
 
#define SOCKET_EPROTONOSUPPORT   EPROTONOSUPPORT
 

Detailed Description

Replacement socketpair() for systems that lack it.

Definition in file socketpair.c.