On Tue, Jan 09, 2001 at 12:30:44PM +0200, Graham Wheeler wrote:
> Just a follow up on this: on Stevens vol 2 pg 117, code line 299, is the
> implication that the returned buffer DOES hold an array of struct ifreq
> elements. So this does seem to indicate that something may be broken on
> FreeBSD. At the very least there is some ambiguity - is this an array of
> struct ifreq's, or an array of struct ifreq's at 36 byte intervals?
If you read the paragraph below that code, it notes that the ifreq
structures are of variable length. The spacing depends on the size
of the returned info.
David.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message