How can I find the header files of the C programming language in Linux?
-fsyntax-only
in addition to get it not to create any output (it will still tell you if your program has errors). Example (Linux, gcc-4.7):
echo '#include <stdbool.h>' | cpp -H -o /dev/null 2>&1 | head -n1