Is there an easy way to find out which header file a C function declaration is in? cding into /usr/include and running (grep -E 'system.*\(' *.h -R) works with some trial and error, but isn't there an easier way to do this?
How to find the header file where a c function is defined?
c;system calls;system programming
$ man 2 read...READ(2)                    Linux Programmer's Manual                   READ(2)NAME       read - read from a file descriptorSYNOPSIS       #include <unistd.h> ...