newlib/winsup/cygwin/include/sys
Christopher Faylor ab7f9b938f * miscfuncs.cc (check_iovec_for_read): Don't check buffer when zero length
iov_len.
(check_iovec_for_write): Ditto.
* fhandler.h (fhandler_base::readv): New method.
(fhandler_base::writev): Ditto.
* fhandler.cc (fhandler_base::readv): New method.
(fhandler_base::writev): Ditto.
* syscalls.cc (_read): Delegate to readv(2).
(_write): Ditto, mutatis mutandi.
(readv): Rewrite, based on the old _read code, to use the new
fhandler_base::readv method.  Improve access mode handling and ensure all calls
reach the final strace statement.
(writev): Ditto, mutatis mutandi.
* include/sys/uio.h (struct iovec): Change field types to match SUSv3.
* winsup.h (check_iovec_for_read): New function.
(check_iovec_for_write): Ditto.
* miscfuncs.cc (check_iovec_for_read): Ditto.
(check_iovec_for_write): Ditto.
2002-08-30 15:47:10 +00:00
..
acl.h
cdefs.h
copying.dj
cygwin.h * external.cc (cygwin_internal): Add CW_EXTRACT_DOMAIN_AND_USER 2002-06-03 17:56:10 +00:00
file.h
ioctl.h
mman.h
mount.h * external.cc (cygwin_internal): Make v1 mount table access invalid. 2002-06-09 00:31:03 +00:00
mtio.h
poll.h
procfs.h
resource.h
select.h
smallprint.h
socket.h * fhandler.h (fhandler_socket::recvfrom): Fix prototype. 2002-08-26 09:57:27 +00:00
soundcard.h
statfs.h * include/sys/statfs.h: New header file. 2002-07-03 20:31:39 +00:00
strace.h * include/sys/strace.h (strace): Avoid use of constructor. 2002-06-10 19:58:21 +00:00
syslog.h
sysmacros.h
termio.h
termios.h * fhandler.h (class fhandler_serial): Add new members of 2002-07-22 09:11:45 +00:00
ttychars.h
uio.h * miscfuncs.cc (check_iovec_for_read): Don't check buffer when zero length 2002-08-30 15:47:10 +00:00
un.h
utsname.h
vfs.h
wait.h