New repo setup

This commit is contained in:
2024-05-28 14:50:00 -05:00
commit f68c320396
51 changed files with 4612 additions and 0 deletions

25
include/unistd.h Normal file
View File

@@ -0,0 +1,25 @@
#ifndef _UNISTD_H
#define _UNISTD_H
#include <stddef.h>
#ifdef __cplusplus
extern "C"
{
#endif
#include <types/pid.h>
int execve(const char *path, char *argv[],
char const *envp[]);
int execvp(const char *file, char const *argv[]);
int *getcwd(char *, size_t);
int close(int fd);
int open(int fd);
int chdir(const char *path);
int pipe(int fildes[2]);
#ifdef __cplusplus
}
#endif
#endif