From owner-cvs-all Sun Dec 29 12:56:12 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 439B137B401; Sun, 29 Dec 2002 12:56:08 -0800 (PST) Received: from thuvia.demon.co.uk (thuvia.demon.co.uk [193.237.34.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id D676243ED8; Sun, 29 Dec 2002 12:56:05 -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 gBTKu2cF077095; Sun, 29 Dec 2002 20:56:02 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 gBTKu2H5040149; Sun, 29 Dec 2002 20:56:02 GMT (envelope-from mark@dotar.thuvia.org) Received: (from mark@localhost) by dotar.thuvia.org (8.12.6/8.12.6/Submit) id gBTKtwMk040146; Sun, 29 Dec 2002 20:55:58 GMT Date: Sun, 29 Dec 2002 20:55:58 GMT From: Mark Valentine Message-Id: <200212292055.gBTKtwMk040146@dotar.thuvia.org> In-Reply-To: <200212291938.gBTJcPk1009103@khavrinen.lcs.mit.edu> X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: Garrett Wollman Subject: Re: cvs commit: src/sys/sys _iovec.h socket.h uio.h Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org 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: Garrett Wollman > Date: Sun 29 Dec, 2002 > Subject: Re: cvs commit: src/sys/sys _iovec.h socket.h uio.h > < said: > > > However, ssize_t is _not_ defined in , , , > > where it is also used, though each of these headers _may_ (not _shall_) > > make ssize_t visible as defined in and/or . This > > may be a bug in the standard. > > I think the answer is that it is possible for the implementation to > declare those interfaces by using another type known by the > implementation to be equivalent to ssize_t. I didn't think even that much was required - maybe there's a bit of the standard which implies this that I've missed? Ah, I see now that the synopsis for recvmsg() doesn't show as being required. I see also that other older interfaces such as stat() and mkdir() no longer need the specific inclusion of , which is a change from older versions of the standard. I see the intention now, even if I've missed the specific wording in the standard. Portable code, however, probably includes explicitly as required by older versions of the standard and non-standard implementations. 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