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
原文地址:https://www.cnblogs.com/skying555/p/13914712.html