summaryrefslogtreecommitdiff
path: root/src/include/unistd.h
diff options
context:
space:
mode:
authorAleksa Vučković <aleksav013@gmail.com>2021-11-02 22:50:09 +0100
committerAleksa Vučković <aleksav013@gmail.com>2021-11-02 22:50:09 +0100
commitf575a0dd796106af502e8693870c49af5bee2a5d (patch)
tree3c26583662ab92d948b1182a8ede1f4d8194f54b /src/include/unistd.h
parent2a56405579be6dc341c503420e40cb30c5144a35 (diff)
Hosted GCC Cross-Compiler
Diffstat (limited to 'src/include/unistd.h')
-rw-r--r--src/include/unistd.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/unistd.h b/src/include/unistd.h
new file mode 100644
index 0000000..a6bfee0
--- /dev/null
+++ b/src/include/unistd.h
@@ -0,0 +1,14 @@
+#ifndef _UNISTD_H
+#define _UNISTD_H
+#include <sys/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+int execv(const char*, char* const[]);
+int execve(const char*, char* const[], char* const[]);
+int execvp(const char*, char* const[]);
+pid_t fork(void);
+#ifdef __cplusplus
+}
+#endif
+#endif