Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2002 06:14:13 GMT
From:      Mark Valentine <mark@thuvia.demon.co.uk>
To:        Mike Barcroft <mike@FreeBSD.org>
Cc:        Bruce Evans <bde@zeta.org.au>, Poul-Henning Kamp <phk@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys _iovec.h socket.h uio.h
Message-ID:  <200212290614.gBT6EDdt020992@dotar.thuvia.org>
In-Reply-To: <20021229003004.B98334@espresso.q9media.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> From: Mike Barcroft <mike@FreeBSD.org>
> Date: Sun 29 Dec, 2002
> Subject: Re: cvs commit: src/sys/sys _iovec.h socket.h uio.h

> Mark Valentine <mark@thuvia.demon.co.uk> writes:
> > Urk, I wasn't advocating including <sys/types.h> in either <sys/socket.h>
> > or <sys/uio.h>, simply pointing out that an application using either of
> > the last two will also be including the first.
> 
> Not necessarily; POSIX.1-2001 places no such requirement on applications.

Where else is ssize_t defined?  Or do you mean that it's valid not to
require parameter type definitions to be in scope for unused prototypes?

However, we all agree that <sys/types.h> isn't a good place to define
struct iovec, so this point is moot.

		Cheers,

		Mark.

-- 
Mark Valentine, Thuvia Labs <mark@thuvia.co.uk>       <http://www.thuvia.co.uk>;
"Tigers will do ANYTHING for a tuna fish sandwich."       Mark Valentine uses
"We're kind of stupid that way."   *munch* *munch*        and endorses FreeBSD
  -- <http://www.calvinandhobbes.com>;                  <http://www.freebsd.org>;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212290614.gBT6EDdt020992>