Help on hearder files in c in Linux.

Hi all,

  I am doing network programming in C in linux. please can anyone tell me how to get the help of the various header files in C.
Like in windows Turboc If u want to get the help of any header file u press ctrl F1 after placing the cursor on stdlib.h and the help will be displayed.

So how we can find in the linux for the same, say I want to know what functions stdio.h provides for example.

please help me.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Why would you want that??

You'd most prbably doing the exact opposite thing....i.e. which header file is a particular function/macro in...

dineshb_2001Author Commented:
I didn`t get you manav.
Depends on the System you are using. I installed devhelp for that on my boxes and Qide which is a port of a Windows IDE to Linux. It allows you to put the cursor on some identifier after typing F1 devhelp starts and shows the documentation.

You can make it working as simple from within XEmacs something along this lines:
(defun run-devhelp-on-word-at-point ()
  (let ((word-at-point (thing-at-point 'word)))
      (shell-command (concat "devhelp -s " word-at-point "&"))))

and binding this command to a convenient key (e.g F1) starts devhelp from within
Or you simply use the manual pages in XEmacs.... Move the cursor onto the identifier
and type M-x man RET if that is too much bind this to some function key.

I'm sure something like that will work in Anjuta or Kdevelop too.


Ah I see it's not what you want really. Well  in Qide you can go to this include lines and tell it to load that file after that you an browse in it and look up the information in the mentioned devhelp file later. But AFAIK there is nothing which just tells you what symbols are defined in which header file.... For that you want to check the diverse Standards.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Hi Dineshb_2001

Well if u want to know the information on header files , just type Example:  man socket.h to know abt socket.h file.

or type in the google, it helps a lot.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux OS Dev

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.