git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Framework for exporting system header to user space (#59)
[lunaix-os.git]
/
lunaix-os
/
usr
/
libc
/
includes
/
fcntl.h
diff --git
a/lunaix-os/usr/libc/includes/fcntl.h
b/lunaix-os/usr/libc/includes/fcntl.h
index b013d70d9f0c1a602ef671024d997cd0559ae6b7..d527c9c5dece40969d8d7580b70f49be8857e13c 100644
(file)
--- a/
lunaix-os/usr/libc/includes/fcntl.h
+++ b/
lunaix-os/usr/libc/includes/fcntl.h
@@
-1,10
+1,13
@@
-#ifndef __LUNA
IX
_SYS_FCNTL_H
-#define __LUNA
IX
_SYS_FCNTL_H
+#ifndef __LUNA
LIBC
_SYS_FCNTL_H
+#define __LUNA
LIBC
_SYS_FCNTL_H
-#include <lunaix/fcntl
_defs
.h>
-#include <
lunaix
/types.h>
+#include <lunaix/fcntl.h>
+#include <
sys
/types.h>
extern int
open(const char* path, int flags);
extern int
open(const char* path, int flags);
-#endif /* __LUNAIX_FCNTL_H */
+extern int
+fstat(int fd, struct file_stat* stat);
+
+#endif /* __LUNALIBC_FCNTL_H */