correct variadic prototypes for execl* family
the old versions worked, but conflicted with programs which declared their own prototypes and generated warnings with some versions of gcc.
This commit is contained in:
parent
22263709ed
commit
e6bac87d0e
4 changed files with 21 additions and 18 deletions
|
|
@ -81,10 +81,10 @@ int pause(void);
|
|||
pid_t fork(void);
|
||||
int execve(const char *, char *const [], char *const []);
|
||||
int execv(const char *, char *const []);
|
||||
int execle(const char *, ...);
|
||||
int execl(const char *, ...);
|
||||
int execle(const char *, const char *, ...);
|
||||
int execl(const char *, const char *, ...);
|
||||
int execvp(const char *, char *const []);
|
||||
int execlp(const char *, ...);
|
||||
int execlp(const char *, const char *, ...);
|
||||
int fexecve(int, char *const [], char *const []);
|
||||
void _exit(int);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue