Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I am looking for something similar to the Java API documentation, but for the GNU C Library.

I am trying to develop a simple server/client Sockets program but I keep getting lost in the different data structures and function calls. The GNU C Library Manual is great for explaining functionality, but I don't find it useful for quickly looking up API calls and data structures.

Is there a good C API browser out there?

share|improve this question
One can use Doxygen to produce a heirarchy of HTML files that can be viewed with any web browser. However the real value of the Java API browsers is produced by the documentation comments. Unless the original C library coders produced such doc comments for Doxygen's consumption, all you will get is a quick way to browse the library source. –  Michael Crawford Aug 22 '11 at 19:06
I think this question is more constructive and a lot less subjective than many other questions that are allowed. Still, it doesn't take more than a minute or two to find easily browsable C library documentation, so it does seem like the question lacks research effort. Maybe one way to make the question more concrete is to link to some C library reference sites and explain how you find them lacking. –  Caleb Aug 22 '11 at 19:11
@Mark My aim was to discover if there is a similar type of documentation like the Java Docs for Linux/C. One similar project is the Linux Cross Reference, but that one is more code oriented versus being limited to the API. –  hondaman Aug 22 '11 at 21:08
@Caleb The link you provided is for the C API and not the System API. The closest I could get to what I was looking for is: pubs.opengroup.org/onlinepubs/9699919799/toc.htm; but this only shows the API function calls and can't be used to jump to the specific data structures(eg, sockaddr_in) definitions mentioned in function signatures or other related functions details. –  hondaman Aug 22 '11 at 21:13
I cast the final reopen vote. I agree with Caleb - this question is a lot more suitable than some of the questions we normally see, and I think there's potential for it to be useful. It seems like there's some difficulty in easily googling for an answer to this, so it's unlikely to turn into a "list of X" question and should hopefully produce a single (or just a few) useful answer instead. –  Anna Lear Aug 23 '11 at 16:08
show 2 more comments

closed as off-topic by gnat, Dan Pichelman, GlenH7, mattnz, ChrisF Sep 20 '13 at 11:53

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking us to recommend a tool, library or favorite off-site resource are off-topic for Programmers as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – gnat, Dan Pichelman, GlenH7, mattnz, ChrisF
If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers

up vote 1 down vote accepted

use these links:

Complete C library quick Reference and API Documentation:



this is "Official POSIX 2008 library documentation on opengroup(dot)org" it cover most of GNU C headers as well as standard C include networking ,IO, threads,... , , & so on. it writed very similar to "JAVA API DOC" (e.g. very quick lookup ,Html format , link every function to its page , details for every function, list all functions by alphabet or by header , even have section "see also" at the end of every page )

i have searched a lot to find such a nice thing. you can download it and use it offline from "downloads" link at the bottom of main index page.

enjoy !

share|improve this answer
add comment

I usually use "The C Library Reference Guide" (see here).

Not exactly like the Java API documentation but good enough.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.