Add <fcntl.h> with open function
This commit is contained in:
parent
453745f6dd
commit
643baf8dec
|
@ -0,0 +1,6 @@
|
|||
#include <fcntl.h>
|
||||
#include <liblinux.h>
|
||||
|
||||
int open(const char *path, int oflag, ...) {
|
||||
return sys_open(path, oflag); // FIXME
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
#ifndef _FCNTL_H
|
||||
#define _FCNTL_H
|
||||
|
||||
int open(const char *path, int oflag, ...);
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue