Date: Sun, 12 Jan 2003 02:07:50 -0500 From: Craig Rodrigues <rodrigc@attbi.com> To: freebsd-current@freebsd.org Subject: [PATCH] Fix man pages with iovec Message-ID: <20030112070750.GA31466@attbi.com>
next in thread | raw e-mail | index | archive | help
--CE+1k2dSO48ffgeK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, This patch fixes the read(2) and write(2) man pages to accurately reflect the iovec structure defined in <sys/_iovec.h> and <sys/uio.h>. -- Craig Rodrigues http://home.attbi.com/~rodrigc rodrigc@attbi.com --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="iovec.diff" Index: read.2 =================================================================== RCS file: /home/ncvs/src/lib/libc/sys/read.2,v retrieving revision 1.18 diff -u -r1.18 read.2 --- read.2 2002/12/19 09:40:25 1.18 +++ read.2 2003/01/12 07:05:27 @@ -85,7 +85,7 @@ .Pp .Bd -literal -offset indent -compact struct iovec { - char *iov_base; /* Base address. */ + void *iov_base; /* Base address. */ size_t iov_len; /* Length. */ }; .Ed Index: write.2 =================================================================== RCS file: /home/ncvs/src/lib/libc/sys/write.2,v retrieving revision 1.23 diff -u -r1.23 write.2 --- write.2 2002/12/19 09:40:25 1.23 +++ write.2 2003/01/12 07:05:28 @@ -85,7 +85,7 @@ .Pp .Bd -literal -offset indent -compact struct iovec { - char *iov_base; /* Base address. */ + void *iov_base; /* Base address. */ size_t iov_len; /* Length. */ }; .Ed --CE+1k2dSO48ffgeK-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030112070750.GA31466>