Open links in new tab
  1. Copilot Answer

    execlp(3): execute file - Linux man page - Linux Documentation

    • execlp (3) is a function that replaces the current process image with a new process image by executing a file. It takes the file name and an argument list as arguments, and searches for the file in the PAT… See more

    Synopsis

    #include <unistd.h> extern char **environ; int execl(const char *path, const char *arg, ...); int execlp(const char *file, const char *arg, ...); int execle(const char *path, const char *arg, ..… See more

    Linux Documentation
    Description

    The exec() family of functions replaces the current process image with a new process … See more

    Linux Documentation
    Return Value

    The exec() functions only return if an error has occurred. The return value is -1, and errnois set to indicate the error. See more

    Linux Documentation
    Notes

    On some other systems, the default path (used when the environment does not contain the variable PATH) has the current working directory listed after/bin and /usr/bin, as … See more

    Linux Documentation
  1. Some results have been removed