_PUBLIC_
_PUBLIC_ int swrap_socket(int family, int type, int protocol)
_PUBLIC_ int swrap_accept(int s, struct sockaddr *addr, socklen_t *addrlen)
_PUBLIC_ int swrap_connect(int s, const struct sockaddr *serv_addr, socklen_t addrlen)
_PUBLIC_ int swrap_bind(int s, const struct sockaddr *myaddr, socklen_t addrlen)
_PUBLIC_ int swrap_listen(int s, int backlog)
_PUBLIC_ int swrap_getpeername(int s, struct sockaddr *name, socklen_t *addrlen)
_PUBLIC_ int swrap_getsockname(int s, struct sockaddr *name, socklen_t *addrlen)
_PUBLIC_ int swrap_getsockopt(int s, int level, int optname, void *optval, socklen_t *optlen)
_PUBLIC_ int swrap_setsockopt(int s, int level, int optname, const void *optval, socklen_t optlen)
_PUBLIC_ ssize_t swrap_recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlen)
_PUBLIC_ ssize_t swrap_sendto(int s, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen)
_PUBLIC_ int swrap_ioctl(int s, int r, void *p)
_PUBLIC_ ssize_t swrap_recv(int s, void *buf, size_t len, int flags)
_PUBLIC_ ssize_t swrap_send(int s, const void *buf, size_t len, int flags)
_PUBLIC_ int swrap_close(int fd)
_PUBLIC_ int swrap_dup(int oldd)
_PUBLIC_ int swrap_dup2(int oldd, int newd)