summaryrefslogtreecommitdiff
path: root/components/libc/compilers/dlib/syscall_open.c
diff options
context:
space:
mode:
authorqingehao <[email protected]>2021-11-16 17:39:35 +0800
committerGitHub <[email protected]>2021-11-16 17:39:35 +0800
commit0a123c307e406d85a55749be99e2c45b5ee37c52 (patch)
treeab27ed7fb1636b5e46f7e6b01fbcf3a21d33336a /components/libc/compilers/dlib/syscall_open.c
parente1c281c95d9b7c4b8917d043b6fc33bf1a38e205 (diff)
parentc1d7eaa0152bd3873adc4a31aa2bb2452dc7fa97 (diff)
Merge branch 'RT-Thread:master' into master
Diffstat (limited to 'components/libc/compilers/dlib/syscall_open.c')
-rw-r--r--components/libc/compilers/dlib/syscall_open.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/components/libc/compilers/dlib/syscall_open.c b/components/libc/compilers/dlib/syscall_open.c
index 8fb3c3a11f..3336bc8885 100644
--- a/components/libc/compilers/dlib/syscall_open.c
+++ b/components/libc/compilers/dlib/syscall_open.c
@@ -9,9 +9,14 @@
*/
#include <rtthread.h>
-#include <yfuns.h>
+#include <LowLevelIOInterface.h>
#include <fcntl.h>
+/*
+ * The "__open" function opens the file named "filename" as specified
+ * by "mode".
+ */
+
#pragma module_name = "?__open"
int __open(const char *filename, int mode)