Tor 0.4.9.2-alpha-dev
|
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 |
Replacement socketpair() for systems that lack it.
Definition in file socketpair.c.
#define closesocket | ( | x | ) | close(x) |
Definition at line 31 of file socketpair.c.
#define SOCKET_EPROTONOSUPPORT EPROTONOSUPPORT |
Definition at line 33 of file socketpair.c.
#define socket_errno | ( | ) | (errno) |
Definition at line 32 of file socketpair.c.