exec Family: execlp
execlp()
uses filename, argument list and original ENV to execute the program.
we only need to provide the name of the program, it will search accordingly in the locations specified in $PATH
variable.
For the program arguments, they are included directly into execlp()
functions.
Lastly, default environment variables in systm are used.
Last updated