33

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

1
  • 1
    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. Commented Jan 17, 2009 at 22:18

3 Answers 3

23

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.

Sign up to request clarification or add additional context in comments.

4 Comments

Registration is not needed anymore for HTML. Can you provide a link to the PDF?
@CiroSantilli刘晓波死六四事件法轮功: I don't now remember where I thought the PDF could be obtained from — or whether it was free. However, if you follow the link to the Open Group Bookstore above, and then chase links (because the 2008 edition is no longer available), you can find www2.opengroup.org/ogsys/jsp/publications/…. You could also find ieeexplore.ieee.org/document/974398/versions using a Google search term 'posix.1-2016 pdf'. You'll need to assess whether they're useful to you, and acceptably priced.
Thanks. I knew a bout the paid PDFs, just curious if there were free PDFs too. I'll keep using wget-fu in the meanwhile: stackoverflow.com/a/45832939/895245
@CiroSantilli刘晓波死六四事件法轮功: There are complete compressed HTML downloads available from the download link on pages such as the pubs.opengroup.org/onlinepubs/9699919799/toc.htm page. That may save you some fetches.
5

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.

Comments

5

zipped versions of the HTML for grepping

Those are useful when you start wanting to grep for things, without paying for the PDF.

Mentioned by Jonathan.

Comments