Executes the program pointed to by the path parameter.
#include <unistd.h> int execle ( const char *path, const char *arg0, ... );
Points to the path of a file to execute.
Points to the file name that is associated with the file to execute.
Points to one or more null-terminated strings (which can be represented by arg1, arg2, . . . argn) that represent the parameter list that is available to the executed program. The list of parameters must be terminated by a NULL pointer.
If an error occurs, returns -1 and errno is set to indicate the error. Otherwise, nothing is returned.
IMPORTANT:This function is only available to NLMs that link with the POSIX semantics flag and load into protected address space (ring3). If these requirements are not met, errno is set to ENOSYS.
The execle function uses the environ external variable as the environment for the new process.
The number of bytes available for the new process's combined parameter and environment lists is defined by ARG_MAX.