| 170 | } |
| 171 | |
| 172 | bool FileLock::WriteLock(uint64_t iOffset, uint64_t iLen, int iWhence) { |
| 173 | return Fcntl(F_SETLK, F_WRLCK, iOffset, iLen, iWhence); |
| 174 | } |
| 175 | |
| 176 | bool FileLock::ReadLockW(uint64_t iOffset, uint64_t iLen, int iWhence) { |
| 177 | return Fcntl(F_SETLKW, F_RDLCK, iOffset, iLen, iWhence); |
nothing calls this directly
no outgoing calls
no test coverage detected