xinghua
xinghua

Reputation: 149

Linux c programming reference

I am learning c programming in Linux. There are a lot of linux functions I need to look at. Is there a website that gives me the details of the Linux functions?

Upvotes: 1

Views: 1973

Answers (5)

user1157391
user1157391

Reputation:

I find the glibc manual very good. It is organized by topic and contains concise background material and examples. It'll allow you to get the big picture and serves as a reference. Manpages are a quicker way to access function descriptions but there are only useful if you already know what you are looking for.

Upvotes: 0

gbulmer
gbulmer

Reputation: 4290

IMHO http://linux.die.net/man/ is the easiest to get to start with.

It has useful sections introductions, so you can get your bearings

Most usefully are the one line synopsis pages, e.g. http://linux.die.net/man/3/

This shows the scale of what you are asking, and also lets you search for a key word describing each function within your browser, which can be very handy.

As has been pointed out, it is not the most up-to-date, but IMHO it is easier for a beginner to use than the alternative I've seen (not that there can't be something better, just google doesn't bother to show it).

Also worth trying apropos or man 3 -K or aman -k`

Upvotes: 0

Kristopher Micinski
Kristopher Micinski

Reputation: 7672

The standard reference by far is "Advanced programming in the UNIX environment" by Richard Stevens. Unfortunately this book is quite old, so there is a revised edition by Eric Raymond, which covers new stuff in Linux. This -- more than anything else -- is the de facto standard for learning "old world" systems programming in Linux. (And most other *ixes, there are of course differences, but you won't notice them until you're much more advanced, and by that point you'll be familiar with the man pages and know where to look.)

Upvotes: 1

ouah
ouah

Reputation: 145829

You can look at the LSB (Linux Standard Base) website:

http://www.linuxfoundation.org/collaborate/workgroups/lsb

Here are is the last Linux Standard Base Core Specification:

http://refspecs.linuxfoundation.org/lsb.shtml

Upvotes: 0

Shredderroy
Shredderroy

Reputation: 2920

Are you referring to system calls in Linux? There are lots of sources. The man pages are your good friends in this regard. Try also http://linux.die.net/man/2/syscalls. I am sure there are lots of others.

Upvotes: 2

Related Questions