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
make rule for user header file install
[lunaix-os.git]
/
lunaix-os
/
usr
/
libc
/
src
/
posix
/
fcntl.c
diff --git
a/lunaix-os/usr/libc/src/posix/fcntl.c
b/lunaix-os/usr/libc/src/posix/fcntl.c
index 28f1ff36e774de7dc84ed76eaec8a101ac5eaaf4..f8c319e7f4be96223380f3f4bd3bab1c6752efd3 100644
(file)
--- a/
lunaix-os/usr/libc/src/posix/fcntl.c
+++ b/
lunaix-os/usr/libc/src/posix/fcntl.c
@@
-1,14
+1,14
@@
-#include <
lunaix/
syscall.h>
+#include <syscall.h>
#include <fcntl.h>
int
open(const char* path, int options)
{
#include <fcntl.h>
int
open(const char* path, int options)
{
- return do_lunaix_syscall(__
SYSCALL
_open, path, options);
+ return do_lunaix_syscall(__
NR__lxsys
_open, path, options);
}
int
fstat(int fd, struct file_stat* stat)
{
}
int
fstat(int fd, struct file_stat* stat)
{
- return do_lunaix_syscall(__
SYSCALL
_fstat, fd, stat);
+ return do_lunaix_syscall(__
NR__lxsys
_fstat, fd, stat);
}
\ No newline at end of file
}
\ No newline at end of file