metal-cos/include/unistd.h
2023-10-02 19:33:47 -04:00

17 lines
287 B
C

#ifndef __UNISTD_H__
#define __UNISTD_H__
#define STDIN_FILENO 0
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
struct timeval;
int syscall(int number, ...);
unsigned int sleep(unsigned int seconds);
pid_t spawn(const char *path, const char *argv[]);
#endif /* __UNISTD_H__ */