Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 02/22/2000 22:57:48
Module Name:	basesrc
Committed By:	itojun
Date:		Wed Feb 23 06:57:48 UTC 2000

Modified Files:
	basesrc/include: Makefile
	basesrc/lib/libc/net: Makefile.inc
Added Files:
	basesrc/include: ifaddrs.h
	basesrc/lib/libc/net: getifaddrs.3 getifaddrs.c

Log Message:
add getifaddrs(3) from bsdi4, as mentioned in tech-net (in SIOCGIFCONF
related thread).
this will save future apps from complexity of SIOCGIFCONF.

getifaddrs(3) does not use SIOCGIFCONF internally, it uses sysctl.


To generate a diff of this commit:
cvs rdiff -r1.82 -r1.83 basesrc/include/Makefile
cvs rdiff -r0 -r1.1 basesrc/include/ifaddrs.h
cvs rdiff -r1.49 -r1.50 basesrc/lib/libc/net/Makefile.inc
cvs rdiff -r0 -r1.1 basesrc/lib/libc/net/getifaddrs.3 \
    basesrc/lib/libc/net/getifaddrs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.