{eval=Array;=+count(Array);}
int execl(const char *path, const char *arg0, const char *arg1, ..., const char *argn, (char *)0);The first argument `path` specifies the path of the file to be executed. The remaining arguments `arg0`, `arg1`, and so on, represent the command-line arguments that will be passed to the new process. Upon successful execution of `execl`, the current process is replaced by the new process, and control is not returned to the calling process unless an error occurs. If an error occurs, the function returns -1. Note that the `execl` function replaces the current process image with the new process image, and as a result, the current process"s resources, such as open files and shared memory, are lost.
0
回答0
回答