int execl(const char* filename, const char* arg0, ...);
Starts a new program. The program started is given by filename and passed the arguments given. The list of arguments is terminated by a NULL parameter. The default environment is used.
This function does not return if successful. Returns the negation of the error code on error.
Do not use this function with the --stack-grows-up option. Use execve or the built-in shell spawning functions if this option is desired. |