Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 1999 05:18:24 +0200
From:      Sheldon Hearn <sheldonh@iafrica.com>
To:        Josh <josh2@marvin.albury.net.au>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: structures 
Message-ID:  <58698.919912704@axl.noc.iafrica.com>
In-Reply-To: Your message of "Thu, 25 Feb 1999 13:21:24 %2B1100." <XFMail.990225134422.josh2@marvin.albury.net.au> 

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 25 Feb 1999 13:21:24 +1100, Josh wrote:

> I am looking for a structure definition (ifreq) which I think
> is ....., well I have no idea where it is really.

Heh, lemme guess, you did this:

	cd /usr/include; grep -aR 'struct ifreq' *

...and came up with nothing useful, yes? :)

It's one of those icky stickies, because the whitespace between struct
and ifreq is actually a tab character. :-(

Do this instead:

	cd /usr/include; grep -aR 'struct[ ^V	]* ifreq' *

...where " ^V " is space Control-V TAB (to get your shell to use a
literal tab) and you'll find your answer:

net/if.h:struct ifreq {

Ciao,
Sheldon.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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