On Dec 16, 2004, at 12:15 PM, Paul Thomas wrote:

From the TCP/IP Library Reference / System Library Functions Manual

If that's the QNX4 documentation, then...

SYNOPSIS
     #include <sys/types.h>
     #include <sys/socket.h>
     #include <ifaddrs.h>

...I would infer that QNX4 - or its development kit, if that's where header files come from, or wherever header files for whichever library "getifaddrs()" is in come from - is *supposed* to have <ifaddrs.h> as one of the header files, so you should ask QNX what the problem is.


The getifaddrs() function first appeared in BSDI BSD/OS. The function
is supplied on OpenBSD since OpenBSD 2.7.


Hmmmm.... So now I must scarf this file from an OpenBSD distro so that I
can continue and build libpcap 0.8.3 for QNX 4.25 ??

No, you should scarf it from wherever QNX put it (assuming they didn't forget to include it, in which case you should ask QNX-the-company where you should get it from in order to fix the problem). I suspect "The function is supplied on OpenBSD since OpenBSD 2.7." really means "we took the OpenBSD man page and used that as our man page, and forgot to fix the HISTORY section not to somewhat-irrelevantly mention OpenBSD". (Whether they took the *implementation* from OpenBSD or not is another matter.)


-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.

Reply via email to