#ifndef _SYS_FILE_H #define _SYS_FILE_H #define LOCK_SH 1 #define LOCK_EX 2 #define LOCK_NB 4 #define LOCK_UN 8 #ifdef __cplusplus extern "C" { #endif #ifndef __MLIBC_ABI_ONLY int flock(int, int); #endif /* !__MLIBC_ABI_ONLY */ #ifdef __cplusplus } #endif #endif // _SYS_FILE_H