Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 12-28-2007, 12:46 AM   #1
Registered: May 2004
Posts: 74

Rep: Reputation: 15
Header file for struct ifstats


Which header file contains struct ifstats and SIOCGIFSTATS? I searched from google, but could not find it.

In general, how can I set a program manual in my Debian box to search and find all library functions as well as structs by man?

Thank you.

Old 12-28-2007, 08:59 AM   #2
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060
Searching through /usr/doc, there are two mentions of "ifstats:"
Might be worth looking through the source code for these? IPtraf (found at; these files contain ifstats:
I usually stat with /usr/doc and do something like
find . -type f -print | xargs fgrep -l ifstats
then look at any files that pop up; now, that ain't always going to do it but it's usually a good place to start...


file, header

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
struct reading and writing to file ilnli Programming 8 08-20-2007 10:54 AM
Problem with extern struct object, in header file. Undefined type. RHLinuxGUY Programming 7 07-24-2006 01:01 AM
g++ and wrong struct member addresses / struct size misreporting sonajiso Linux - General 5 05-22-2004 11:16 PM
switch statement converting struct char to struct int oceaneyes2 Programming 2 12-10-2003 05:30 PM
using struct type X as pointer in struct X. worldmagic Programming 1 10-28-2003 03:06 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration