28
votes

I'm trying to find out where I can find documentation on POSIX functions, but coming up short. Any recommendations?

3
Do be careful to check which version of POSIX you're allowed to code to. 2008 - which I gave the refs to - is quite new and not all functions are necessarily available everywhere. You might decide to write covers for some new functions, but you won't be able to that for some so don't use them.Jonathan Leffler

3 Answers

22
votes

POSIX 1003.1-2008 is now available on the web (all 3872 pages of it, in PDF and HTML). You have to register (free). I got to it from the Open Group Bookstore.

See How to Portably scanf into a pid_t in C for my original answer that included this information.

5
votes

Strictly speaking, the definitive list of the POSIX functions is the POSIX standards documents themselves.

There's a pretty good introduction to what POSIX is all about, with links to plenty of reference material on Wikipedia.