struct msghdr in socket.h is wrong
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Oct 12 20:42:00 GMT 2005
On Oct 12 15:17, Sam Steingold wrote:
> cyswin/socket.h:
>
> struct msghdr
> {
> void * msg_name; /* Socket name */
> int msg_namelen; /* Length of name */
> struct iovec * msg_iov; /* Data blocks */
> int msg_iovlen; /* Number of blocks */
> void * msg_accrights; /* Per protocol magic (eg BSD file descriptor passing) */
> int msg_accrightslen; /* Length of rights list */
> };
This is the so called "older" implementation of struct msghdr as defined
up to 4.2BSD. Since it's quite useless so far and since applications
using this structure should accomodate the old implementation anyway,
I don't see a good reason to change this right now.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list