How can I find the header files of the C programming language in Linux?

前端 未结 10 1810
南笙
南笙 2020-12-07 08:42

When I write C programs in Linux, and then compile them using gcc, I am always curious about where those header files are. For example, where stdio.h is. More g

10条回答
  •  醉酒成梦
    2020-12-07 09:01

    Use vim to open your source file and put the curses on stdio.h and in normal mode, command 'gf' will let vim open the stdio.h file for you.

    'Ctr + g' will let vim display the absolute path of stdio.h

提交回复
热议问题