Subject: Re: inet_ntop() prototype question
To: Christoph Kaegi <kgc@zhwin.ch>
From: Quentin Garnier <netbsd@quatriemek.com>
List: netbsd-users
Date: 04/07/2003 09:47:05
Le Mon, 7 Apr 2003 09:40:09 +0200
Christoph Kaegi a ecrit :
>
> I'm not sure, if this is the appropriate forum, but
> why is the last parameter of inet_ntop of type socklen_t?
> Stevens has it as size_t, which would make more sense for
> me, as it should specify the length of the buffer in which
^^^^^^^^^^^^^^^^^^^^
> inet_ntop will put an address in presentation format.
This is correct.
--
Quentin Garnier - cube@cubidou.net
"Feels like I'm fiddling while Rome is burning down.
Should I lay my fiddle down and take a rifle from the ground ?"
Leigh Nash/Sixpence None The Richer, Paralyzed, Divine Discontents, 2002.