Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Scott <conrad.scott@dsl.pipex.com>2002-09-04 13:55:01 +0400
committerConrad Scott <conrad.scott@dsl.pipex.com>2002-09-04 13:55:01 +0400
commit30db55355e1969ed0c1d7e6376710f4748fb2ff7 (patch)
treea95e9a141ce2dfb9fa70cb82c9ac74eb50bd1375 /winsup/cygwin/fhandler.h
parent4693b67947f4eb09878f84d6ac5fa0154ee9b807 (diff)
Merged changes from HEAD
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 786c2ad02..a1e530430 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -400,15 +400,15 @@ class fhandler_socket: public fhandler_base
int getsockname (struct sockaddr *name, int *namelen);
int getpeername (struct sockaddr *name, int *namelen);
- int __stdcall read (void *ptr, size_t len) __attribute__ ((regparm (3)));
+ ssize_t readv (const struct iovec *, int iovcnt, ssize_t tot = -1);
int recvfrom (void *ptr, size_t len, int flags,
struct sockaddr *from, int *fromlen);
- int recvmsg (struct msghdr *msg, int flags);
+ int recvmsg (struct msghdr *msg, int flags, ssize_t tot = -1);
- int write (const void *ptr, size_t len);
+ ssize_t writev (const struct iovec *, int iovcnt, ssize_t tot = -1);
int sendto (const void *ptr, size_t len, int flags,
const struct sockaddr *to, int tolen);
- int sendmsg (const struct msghdr *msg, int flags);
+ int sendmsg (const struct msghdr *msg, int flags, ssize_t tot = -1);
int ioctl (unsigned int cmd, void *);
int fcntl (int cmd, void *);