Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2003 04:30:04 -0800 (PST)
From:      Peter Pentchev <roam@ringlet.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/47459: Possible /usr/include/sys/uio.h problem
Message-ID:  <200301251230.h0PCU4da072248@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/47459; it has been noted by GNATS.

From: Peter Pentchev <roam@ringlet.net>
To: David Holm <david@realityrift.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/47459: Possible /usr/include/sys/uio.h problem
Date: Sat, 25 Jan 2003 14:24:08 +0200

 On Sat, Jan 25, 2003 at 12:28:16PM +0100, David Holm wrote:
 > 
 > >Number:         47459
 > >Category:       kern
 > >Synopsis:       Possible /usr/include/sys/uio.h problem
 > >Originator:     David Holm
 > >Release:        FreeBSD 4.7-STABLE i386
 > >Description:
 > 	
 
 > On line 86 sys/uio.h includes sys/cdefs.h, I assume it is to get
 > "ssize_t"?
 
 Not really; the inclusion of sys/cdefs.h is made to get the
 __BEGIN_DECLS and __END_DECLS definitions.
 
 > Since when I compile ORBit-gt that uses sys/uio.h it fails
 > due to ssize_t not being defined, and it isn't in sys/cdefs.h
 
 This looks like a bug in your application (ORBit-gt) - ssize_t is
 defined in sys/types.h, and the manual pages of the functions declared
 in sys/uio.h (readv(2), writev(2)) specify that sys/types.h must be
 included before sys/uio.h.
 
 G'luck,
 Peter
 
 -- 
 Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 If this sentence didn't exist, somebody would have invented it.

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




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