소스 검색

[components][libc][compilers][newlib]添加flock接口

zhangjun 6 년 전
부모
커밋
f7e7170536
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      components/libc/compilers/newlib/syscalls.c

+ 4 - 0
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;
+}