Linux API/standard calls etc.

Kevin Buettner kev@primenet.com
Fri, 19 Jan 2001 16:07:27 -0700


On Jan 19, 10:42am, Lucas Vogel wrote:

> Sorry if this is a vague question, but I"m looking for documentation on the
> "standard" linux system calls, etc. for things like file input/output, etc.
> Does this make sense? Can someone point me out to some good documentation?
> I'm looking to write code in C++...

Here are some book recommendations:

The C++ Programming Language, Third Edition
Bjarne Stroustrup
Addison-Wesley
ISBN: 0-201-88954-4
Chapter 21 contains information on Streams which may be used to do
I/O in C++.

Advanced Programming in the UNIX Environment
W. Richard Stevens
Addison-Wesley
ISBN: 0-201-56317-7
Chapters 3 & 5 have info on file I/O, but the whole book is good.

I preordered a copy of the latter book in the early nineties and have
never regretted it.  (It's an expensive book, but it's worth every
penny that you pay for it.)  Anyone doing C or C++ programming (or even
Perl programming) on Linux ought to own this book.  Stevens' other
books are worth owning too.

Also, make sure your man pages are installed on your Linux box so
that you can do "man open", "man close", "man read", "man write",
etc.