mirror of
https://repo.or.cz/socat.git
synced 2025-07-14 15:23:24 +00:00
struct cmsghdr.cmsg is system dependend; more print format corrections
This commit is contained in:
parent
93cfe88290
commit
80c7fa0bca
18 changed files with 141 additions and 66 deletions
4
sycls.h
4
sycls.h
|
@ -94,8 +94,8 @@ int System(const char *string);
|
|||
int Socketpair(int d, int type, int protocol, int sv[2]);
|
||||
#if _WITH_SOCKET
|
||||
int Socket(int domain, int type, int protocol);
|
||||
int Bind(int sockfd, struct sockaddr *my_addr, int addrlen);
|
||||
int Connect(int sockfd, const struct sockaddr *serv_addr, int addrlen);
|
||||
int Bind(int sockfd, struct sockaddr *my_addr, socklen_t addrlen);
|
||||
int Connect(int sockfd, const struct sockaddr *serv_addr, socklen_t addrlen);
|
||||
int Listen(int s, int backlog);
|
||||
int Accept(int s, struct sockaddr *addr, socklen_t *addrlen);
|
||||
int Getsockname(int s, struct sockaddr *name, socklen_t *namelen);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue