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

posted on 2020-11-02 15:31  alex.shu  阅读(42)  评论(0编辑  收藏  举报

导航