diff --git a/src/fcntl.c b/src/fcntl.c new file mode 100644 index 0000000..6804e92 --- /dev/null +++ b/src/fcntl.c @@ -0,0 +1,6 @@ +#include +#include + +int open(const char *path, int oflag, ...) { + return sys_open(path, oflag); // FIXME +} diff --git a/src/include/fcntl.h b/src/include/fcntl.h new file mode 100644 index 0000000..c569491 --- /dev/null +++ b/src/include/fcntl.h @@ -0,0 +1,6 @@ +#ifndef _FCNTL_H +#define _FCNTL_H + +int open(const char *path, int oflag, ...); + +#endif