Hi,

On Mon, 12.04.2010 at 06:54:31 +0200, Bret S. Lambert <bret.lamb...@gmail.com> 
wrote:
> On Sun, Apr 11, 2010 at 01:43:11PM -0700, patrick keshishian wrote:
> > On Sun, Apr 11, 2010 at 09:40:45PM +0200, Toni Mueller wrote:
> > > I already suspected something like this, but this behaviour is not
> > > documented in the man page.
> > 
> > Look at the very bottom of the man page:
> 
> $ man 9 inet_ntoa
> man: no entry for inet_ntoa in section 9 of the manual.

Patrick is right, though. The behaviour is described under the BUGS
section of the man page, which I happened to overlook:

$ man inet_ntoa
...
The string returned by inet_ntoa() resides in a static memory area.

OpenBSD 4.6                    December 9, 2008                 4
$


Kind regards,
--Toni++

Reply via email to