MCPcopy Create free account
hub / github.com/Tencent/phxsql / Fcntl

Method Fcntl

phxsqlclient/utils/filelock.cpp:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54bool FileLock::Fcntl(int iCmd, int iType, int iOffset, int iLen, int iWhence) {
55
56 uint64_t offset = iOffset;
57 uint64_t len = iLen;
58 return Fcntl(iCmd, iType, offset, len, iWhence);
59}
60
61bool FileLock::Fcntl(int iCmd, int iType, uint64_t iOffset, uint64_t iLen, int iWhence) {
62#ifdef __WORDSIZE

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected