+ 2
With standard C libraries on *nixes, eg Linux, manpages. Some external libs come with manpages.
For a more robust info centre: http://en.cppreference.com
(C++ and C)
Non-standard libs usually have online manuals. Everything published seriously will have info.