The exec () family of functions replaces the current process image with a new process image. The functions described in this manual page are front-ends for execve (2). (See the manual page for execve (2) for further details about the replacement of the current process image.). The execlp function is most commonly used to overlay a process image that has been created by a call to the fork function. path identifies the location of the new process image within the hierarchical file system (HFS). If the path argument contains a slash (/), it is assumed that either an absolute or a relative pathname has been specified. · The script (7) manual page provides detailed information about the execution of interpreter scripts.) The initial argument for these functions is the pathname of a file which is to be executed. The const char *arg and subsequent ellipses in the execl (), execlp (), execlpe (), and execle () functions can be thought of as arg0, arg1, , argn.
The functions described in this manual page are front-ends for the execve(2) system call; see that manual page for detailed information about the replacement of the current process. The initial argument for these functions is the pathname of a file which is to be executed. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME top environ, execl, execle, execlp, execv, execve, execvp, fexecve — execute a file SYNOPSIS top. (See the manual page for execve(2) for further details about the replacement of the current process image.) The initial argument for these functions is the name of a file that is to be executed. The functions can be grouped based on the letters following the "exec" prefix. l - execl(), execlp(), execle().
EXEC(3P) POSIX Programmer's Manual EXEC(3P) PROLOG top This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. The exec() family of functions replaces the current process image with a new process image. The functions described in this manual page are front-ends for execve(2). (See the manual page for execve(2) for further details about the replacement of the current process image.) The initial argument for these functions is the pathname of a file which is to be executed. (See the manual page for execve(2) for detailed information about the replacement of the current process.) The initial argument for these functions is the pathname of a file which is to be executed. The const char *arg and subsequent ellipses in the execl (), execlp (), and execle functions can be thought of as arg0, arg1, , argn. Together they describe a list of one or more pointers to null-terminated strings that represent the argument list available to the executed program.
0コメント