diff options
| author | zhangjun <[email protected]> | 2019-09-26 14:34:59 +0800 |
|---|---|---|
| committer | zhangjun <[email protected]> | 2019-09-26 14:34:59 +0800 |
| commit | f7e7170536324f7ecce68e2bbf56607f15926fa4 (patch) | |
| tree | abe8ed0305e0ec22279a2bc1ca50b92430c4af70 /components/libc/compilers | |
| parent | 8ed3daed5f1b5fb411b4ca01f5e367b715db12d3 (diff) | |
[components][libc][compilers][newlib]添加flock接口
Diffstat (limited to 'components/libc/compilers')
| -rw-r--r-- | components/libc/compilers/newlib/syscalls.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; +} |
