Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 1997 11:04:07 +0100
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@FreeBSD.ORG
Cc:        Jim Flowers <jflowers@ezo.net>
Subject:   Re: inet_addr function?
Message-ID:  <19971124110407.36661@uriah.heep.sax.de>
In-Reply-To: <Pine.BSI.3.91.971124033548.2892A-100000@lily.ezo.net>; from Jim Flowers on Mon, Nov 24, 1997 at 03:43:09AM -0500
References:  <Pine.BSI.3.91.971124033548.2892A-100000@lily.ezo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
As Jim Flowers wrote:

> I am tyring to debug a C program that uses functions named inet_ntoa
> and inet_addr.  I found inet_ntoa ok but there does not seem to be an 
> inet_addr, anywhere.

Then you probably need some glasses to look. :)

Either the declaration as well as the implementation are fine in
place, in the .h files mentioned in the manual page:

j@uriah 66% nm /usr/lib/libc.so.3.0 | fgrep inet_addr
00042640 T _inet_addr
j@uriah 67% fgrep inet_addr /usr/include/arpa/inet.h 
unsigned long    inet_addr __P((const char *));

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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