#include statements that include a slash (header files made up of two parts)

Posted by wpeters on Stack Overflow See other posts from Stack Overflow or by wpeters
Published on 2010-03-11T05:34:20Z Indexed on 2010/03/11 5:36 UTC
Read the original article Hit count: 264

Filed under:

Sometimes I see header files of the form.

#include <sys/sysinfo.h> // found in /usr/include/sys/sysinfo.h                                                              

What is this called and why are these header files different from most others like

#include <stdio.h>

Maybe a group of related header files been grouped, but if I try something like "man pci" (there's a pci.h header in /usr/include/sys/ there is no entry.

© Stack Overflow or respective owner

Related posts about c