/* Determined from CC RTL function prototypes in online documentation */ #define fork(x) vfork(x) #include #include #include #include #include #include #define STDIN_FILENO 0 #define STDOUT_FILENO 1 #define STDERR_FILENO 2 extern int fnmatch(char *pattern, char *string, int options); #include "ndir.h" #include "pwd.h" #include "pipe.h" int unlink(char *path); int link(char *from, char *to); #define stat(a, b) wrapped_stat(a, b) #undef POSIX