newlib-cygwin/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 Update copyrights. 2001-09-11 20:01:02 +00:00
cdefs.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
copying.dj Whitespace cleanup. 2000-10-28 05:41:44 +00:00
cygwin.h * external.cc (cygwin_internal): Add CW_EXTRACT_DOMAIN_AND_USER 2002-06-03 17:56:10 +00:00
file.h * include/sys/file.h: Revert special X_OK usage. Just make it a constant. 2001-05-08 01:36:50 +00:00
ioctl.h Add copyright stuff 2002-01-13 20:03:03 +00:00
mman.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
mount.h * external.cc (cygwin_internal): Make v1 mount table access invalid. 2002-06-09 00:31:03 +00:00
mtio.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
poll.h Update copyrights. 2001-09-11 20:01:02 +00:00
procfs.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
resource.h Eliminate excess whitespace. 2001-11-05 06:09:15 +00:00
select.h Update copyrights. 2001-09-11 20:01:02 +00:00
smallprint.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
socket.h * fhandler.h (fhandler_socket::recvfrom): Fix prototype. 2002-08-26 09:57:27 +00:00
soundcard.h whitespace cleanup 2001-12-10 03:35:54 +00:00
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 * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
sysmacros.h * syscalls.cc (stat64_to_stat32): Transform st_dev correctly. 2002-06-03 17:44:09 +00:00
termio.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
termios.h * fhandler.h (class fhandler_serial): Add new members of 2002-07-22 09:11:45 +00:00
ttychars.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
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 Eliminate excess whitespace. 2001-11-05 06:09:15 +00:00
utsname.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
vfs.h remove erroneous part of comment 2002-03-12 03:36:01 +00:00
wait.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00