From f7e7170536324f7ecce68e2bbf56607f15926fa4 Mon Sep 17 00:00:00 2001 From: zhangjun <2281979437@qq.com> Date: Thu, 26 Sep 2019 14:34:59 +0800 Subject: [PATCH] =?UTF-8?q?[components][libc][compilers][newlib]=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0flock=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/libc/compilers/newlib/syscalls.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/libc/compilers/newlib/syscalls.c b/components/libc/compilers/newlib/syscalls.c index 24506476c6..59c1881ad1 100644 --- a/components/libc/compilers/newlib/syscalls.c +++ b/components/libc/compilers/newlib/syscalls.c @@ -453,3 +453,7 @@ mode_t umask(mode_t mask) return 022; } +int flock(int fd, int operation) +{ + return 0; +}