Created
June 25, 2015 00:02
-
-
Save shichao-an/5e094ad41cdca4af53da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <unistd.h> | |
int execl(const char *pathname, const char *arg0, ... /* (char *)0 */ ); | |
int execv(const char *pathname, char *const argv[]); | |
int execle(const char *pathname, const char *arg0, ... | |
/* (char *)0, char *const envp[] */ ); | |
int execve(const char *pathname, char *const argv[], char *const envp[]); | |
int execlp(const char *filename, const char *arg0, ... /* (char *)0 */ ); | |
int execvp(const char *filename, char *const argv[]); | |
int fexecve(int fd, char *const argv[], char *const envp[]); | |
/* All seven return: −1 on error, no return on success */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment