Moooore fixes :|

This commit is contained in:
jD91mZM2
2018-06-30 12:15:51 +02:00
parent 2f6467bce6
commit 1fd9a5f249
3 changed files with 13 additions and 6 deletions
+7
View File
@@ -0,0 +1,7 @@
#ifndef _BITS_UNISTD_H
#define _BITS_UNISTD_H
int execl(const char *path, const char* argv0, ...);
int execle(const char *path, const char* argv0, ...);
#endif
+4 -4
View File
@@ -1,7 +1,7 @@
#ifndef _BITS_EXEC_H
#define _BITS_EXEC_H
#include <stdarg.h>
#include <stddef.h>
extern int execv(const char *path, char *const *argv);
int execv(const char *path, char *const *argv);
int execl(const char *path, const char* argv0, ...)
{
@@ -24,7 +24,7 @@ int execl(const char *path, const char* argv0, ...)
}
}
extern int execve(const char *path, char *const *argv, char *const *envp);
int execve(const char *path, char *const *argv, char *const *envp);
int execle(const char *path, const char* argv0, ...)
{
+2 -2
View File
@@ -1,6 +1,6 @@
sys_includes = ["stddef.h", "stdint.h", "sys/types.h", "stdarg.h", "bits/exec.h"]
sys_includes = ["stddef.h", "stdint.h", "sys/types.h"]
include_guard = "_UNISTD_H"
trailer = "#include <bits/fcntl.h>"
trailer = "#include <bits/fcntl.h>\n#include <bits/unistd.h>"
language = "C"
[enum]