Subject: Re: inet_ntop() prototype question
To: None <netbsd-users@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-users
Date: 04/07/2003 11:20:13
[ On Monday, April 7, 2003 at 09:28:35 (+0100), David Laight wrote: ]
> Subject: Re: inet_ntop() prototype question
>
> size_t got used in far too many places (unfortunately) - places where
> 'int' would be fine.
'unsigned int', please! ;-)
> XNET (the opengroup body) managed to kill some
> of them from the network specs before they caused too much trouble
> with binary compatibility.
Unfortunately they caused just about as much havoc in both the socket
APIs, and ABIs for some platforms, by introducing socklen_t _and_
screwing with the "buflen" parameters....
--
Greg A. Woods
+1 416 218-0098; <g.a.woods@ieee.org>; <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>