summaryrefslogtreecommitdiff
path: root/components/libc/compilers/dlib/syscall_open.c
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-11-13 10:16:31 -0500
committerMeco Man <[email protected]>2021-11-13 10:16:31 -0500
commit9254d1a3affdab5c329d2b8ea5bbe5a6a53e1dc9 (patch)
tree2d8580424b699cd2104e062e3e1cad63049052cd /components/libc/compilers/dlib/syscall_open.c
parent215d1d4c6eebf5e82aa4731ec673d0ff5c9b98c1 (diff)
[iar][syscalls] 补充注释
Diffstat (limited to 'components/libc/compilers/dlib/syscall_open.c')
-rw-r--r--components/libc/compilers/dlib/syscall_open.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/libc/compilers/dlib/syscall_open.c b/components/libc/compilers/dlib/syscall_open.c
index 93056ffdbe..3336bc8885 100644
--- a/components/libc/compilers/dlib/syscall_open.c
+++ b/components/libc/compilers/dlib/syscall_open.c
@@ -12,6 +12,11 @@
#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)