#include #include int main(void) { char *dirlist_prg = {"ls"}; char *dirlist_arg1 = {"-l"}; printf("\n\nExecuting now directory listing...\n\n"); execlp(dirlist_prg, dirlist_prg, dirlist_arg1, NULL); printf("\n*** If execlp() is successful this line will never be printed... ***\n"); }