Cygwin: reorder read/write calls in fhandler_socket_unix

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2018-03-07 21:52:29 +01:00
parent 855e5d7e14
commit d7f7d292d8
1 changed files with 5 additions and 4 deletions

View File

@ -922,18 +922,19 @@ class fhandler_socket_unix : public fhandler_socket
int shutdown (int how); int shutdown (int how);
int close (); int close ();
int getpeereid (pid_t *pid, uid_t *euid, gid_t *egid); int getpeereid (pid_t *pid, uid_t *euid, gid_t *egid);
ssize_t recvmsg (struct msghdr *msg, int flags);
ssize_t recvfrom (void *ptr, size_t len, int flags, ssize_t recvfrom (void *ptr, size_t len, int flags,
struct sockaddr *from, int *fromlen); struct sockaddr *from, int *fromlen);
ssize_t recvmsg (struct msghdr *msg, int flags);
void __reg3 read (void *ptr, size_t& len); void __reg3 read (void *ptr, size_t& len);
ssize_t __stdcall readv (const struct iovec *, int iovcnt, ssize_t __stdcall readv (const struct iovec *const iov, int iovcnt,
ssize_t tot = -1); ssize_t tot = -1);
ssize_t sendmsg (const struct msghdr *msg, int flags);
ssize_t sendto (const void *ptr, size_t len, int flags, ssize_t sendto (const void *ptr, size_t len, int flags,
const struct sockaddr *to, int tolen); const struct sockaddr *to, int tolen);
ssize_t sendmsg (const struct msghdr *msg, int flags);
ssize_t __stdcall write (const void *ptr, size_t len); ssize_t __stdcall write (const void *ptr, size_t len);
ssize_t __stdcall writev (const struct iovec *, int iovcnt, ssize_t tot = -1); ssize_t __stdcall writev (const struct iovec *const iov, int iovcnt,
ssize_t tot = -1);
int setsockopt (int level, int optname, const void *optval, int setsockopt (int level, int optname, const void *optval,
__socklen_t optlen); __socklen_t optlen);
int getsockopt (int level, int optname, const void *optval, int getsockopt (int level, int optname, const void *optval,