int main() int main(int argc) int main(int argc,char **argv) int main(int argc,char **argv,char **env) |
int main(int argc,char **argv,char **env) { int i; //execl("/bin/ls","ls","-al","/etc/passwd",NULL,"env"); for(i=0;env[i]!=NULL;i++) printf(" env[%d]:%s\n", i, env[i]); return 0; } |