`“apue.h”`is not a global environment PATH , but program can retrieve it
up vote 0 down vote favorite I am learning from APUE3e #include "apue.h" #include <dirent.h> int main(int argc, char *argv) { DIR *dp; struct dirent *dirp; .... In the header, import a user-definded module "apue.h" . the program run correctly after compiled. The apue.h is placed in /Library/Developer/CommandLineTools/usr/include , What confuse me is that /Library/Developer/CommandLineTools/usr/include is not in the $PATH but could be retrieved by the program globally. $ echo $PATH | grep include #does not return anything. How could the program get it done? c share | improve this question asked Nov 10 at 11:03 avirate 647 1 13 add a comment | up vote 0 down vote favorite I am learning from APUE3e #include "apue.h" #include <dirent.h> int main(int argc, char *argv) { DIR *dp; struct dirent *dirp; .... In the header, import a user-definded module "apue.h" . the progra...