3 * gcc fork_execlp.c -o fork_execlp -Wall -W -Wextra -ansi -pedantic
16 if ((pid
= fork()) < 0) { /* fork error */
21 else if (pid
> 0) /* parent process */
24 else { /* child process (pid = 0) */
25 if (execlp("date", "date", (char *)0) < 0) {
32 * Whatever goes here, will be executed from the
33 * parent AND the child process as well