From owner-cvs-all Sat Dec 28 16: 7:58 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E86A37B401; Sat, 28 Dec 2002 16:07:57 -0800 (PST) Received: from thuvia.demon.co.uk (thuvia.demon.co.uk [193.237.34.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89DDF43EC5; Sat, 28 Dec 2002 16:07:43 -0800 (PST) (envelope-from mark@thuvia.demon.co.uk) Received: from dotar.thuvia.org (dotar.thuvia.org [10.0.0.4]) by phaidor.thuvia.org (8.12.3/8.12.3) with ESMTP id gBT07acF074724; Sun, 29 Dec 2002 00:07:36 GMT (envelope-from mark@thuvia.demon.co.uk) Received: from dotar.thuvia.org (localhost [IPv6:::1]) by dotar.thuvia.org (8.12.6/8.12.6) with ESMTP id gBT07YH5012380; Sun, 29 Dec 2002 00:07:35 GMT (envelope-from mark@dotar.thuvia.org) Received: (from mark@localhost) by dotar.thuvia.org (8.12.6/8.12.6/Submit) id gBT07YVO012379; Sun, 29 Dec 2002 00:07:34 GMT Date: Sun, 29 Dec 2002 00:07:34 GMT From: Mark Valentine Message-Id: <200212290007.gBT07YVO012379@dotar.thuvia.org> In-Reply-To: X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: phk@freebsd.org (Poul-Henning Kamp), cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/sys _iovec.h socket.h uio.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: phk@freebsd.org (Poul-Henning Kamp) > Date: Sat 28 Dec, 2002 > Subject: cvs commit: src/sys/sys _iovec.h socket.h uio.h > phk 2002/12/28 14:17:29 PST > > Modified files: > sys/sys socket.h uio.h > Added files: > sys/sys _iovec.h > Log: > > ... > > Sensible people could just put iovec into sys/_types.h but there > is probably some standard or other which will be violated if we > did something that horrible. Actually, the IEEE Std 1003.1-2001 spec. for states: "Inclusion of may also make visible all symbols from ." So, it seems it would be sufficient to have a single definition of struct iovec in . It would seem to also work having it in , since both interfaces from and some from use ssize_t and/or size_t, but this should be considered accidental. Having said that, your implementation works too. Cheers, Mark. -- Mark Valentine, Thuvia Labs "Tigers will do ANYTHING for a tuna fish sandwich." Mark Valentine uses "We're kind of stupid that way." *munch* *munch* and endorses FreeBSD -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message