Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2002 14:28:56 -0500
From:      Mike Barcroft <mike@FreeBSD.org>
To:        Mark Valentine <mark@thuvia.demon.co.uk>
Cc:        Garrett Wollman <wollman@lcs.mit.edu>, cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/sys _iovec.h socket.h uio.h
Message-ID:  <20021229142856.E98334@espresso.q9media.com>
In-Reply-To: <200212291924.gBTJOb8r037706@dotar.thuvia.org>; from mark@thuvia.demon.co.uk on Sun, Dec 29, 2002 at 07:24:37PM %2B0000
References:  <200212291802.gBTI20aj008737@khavrinen.lcs.mit.edu> <200212291924.gBTJOb8r037706@dotar.thuvia.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Valentine <mark@thuvia.demon.co.uk> writes:
> > From: Garrett Wollman <wollman@lcs.mit.edu>
> > Date: Sun 29 Dec, 2002
> > Subject: Re: cvs commit: src/sys/sys _iovec.h socket.h uio.h
> 
> > <<On Sun, 29 Dec 2002 06:14:13 GMT, Mark Valentine <mark@thuvia.demon.co.uk> said:
> > 
> > > Where else is ssize_t defined?
> > 
> > In every header that uses it.  That's the X/Op^H^H^H^HPOSIX Way.
> 
> Oh.  I've never seen that stated in my reading of the standard or rationale
> (and couldn't find it stated in my on-line copy).
> 
> I did, however, find it also defined in <unistd.h>, <monetary.h>, <sys/msg.h>,
> <sys/uio.h> (which I missed earlier), which invalidates my argument, supports
> Mike's statement, and answers my question.
> 
> However, ssize_t is _not_ defined in <aio.h>, <mqueue.h>, <sys/socket.h>,
> where it is also used, though each of these headers _may_ (not _shall_)
> make ssize_t visible as defined in <sys/types.h> and/or <sys/uio.h>.  This
> may be a bug in the standard.

<sys/socket.h> does define it.  I have a patch for <mqueue.h> in my
tree.  I still need to work on <aio.h> and less than a dozen other
standard headers.

Best regards,
Mike Barcroft

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?20021229142856.E98334>