/* pprun: provide -procf option to prun */ /* 2003 Gerhard Theurich (gjt) NASA/NCCS and SGI Professional Services or */ #include #include #include #define PROCF_ARG "-procf" int main(int argc, char *argv[]){ int i; int helpflag=0; char installdir[256]; char procfile[256]; char prun_arg[1024]; char prun_call[2048]; procfile[0] = prun_arg[0] = prun_call[0] = '\0'; /* extract the procfile argument from list of arguments if it exists */ for (i=1; i