views:

159

answers:

4

I want to know if there is any site like cpluplus.com which explains all the headers files and its available features, but for Linux ? Like for example explaining the sys/, net/, dns/* includes ?

I came up with this question because I was searching for a sys/reboot.h reference.

Any Ideas ?

+7  A: 

man pages are the usual references for C functions from headers. Sometimes you have to do man 2 or man 3 to get the C function rather than the shell command. You might also have to install an extra package for get these manpages.

e.g.

man 2 reboot
Douglas Leeder
well that doesn't work always.
gujo
There's also the `apropos` command, which helps to track down commands by text in the manpages.
greyfade
+1  A: 

You might get some useful information from this link. Take a look at http://www.linuxselfhelp.com/HOWTO/C++Programming-HOWTO-13.html

adatapost
well not exactly what i wanted but it has some nice links.
gujo
A: 

The only thing I found so far is this:

http://www.opengroup.org/onlinepubs/007908775/headix.html

gujo
A: 

Start a bash shell prompt, type 'a' 'Tab'. This lists all the commands that start with 'a'. If any command catches your attention, look at its associated man file. After the 'a' commands, repeat for 'b', etc. This, at least, is a systematic way of perusing the facilities available in your bin path.

Phillip Ngan