Help on hearder files in c in Linux.

Posted on 2004-11-29
Last Modified: 2010-04-22
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.

Question by:dineshb_2001
    LVL 16

    Expert Comment

    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...


    Author Comment

    I didn`t get you manav.
    LVL 24

    Expert Comment

    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.


    LVL 24

    Accepted Solution

    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.


    Expert Comment

    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.


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
    The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now