Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2002 19:24:37 GMT
From:      Mark Valentine <mark@thuvia.demon.co.uk>
To:        Garrett Wollman <wollman@lcs.mit.edu>
Cc:        cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/sys _iovec.h socket.h uio.h
Message-ID:  <200212291924.gBTJOb8r037706@dotar.thuvia.org>
In-Reply-To: <200212291802.gBTI20aj008737@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.

		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?200212291924.gBTJOb8r037706>