LLDB mainline
|
#include "lldb/Host/posix/LockFilePosix.h"
#include "llvm/Support/Errno.h"
#include <fcntl.h>
#include <unistd.h>
Go to the source code of this file.
Functions | |
static Status | fileLock (int fd, int cmd, int lock_type, const uint64_t start, const uint64_t len) |
|
static |
Definition at line 19 of file LockFilePosix.cpp.
References error().
Referenced by lldb_private::LockFilePosix::DoReadLock(), lldb_private::LockFileWindows::DoReadLock(), lldb_private::LockFilePosix::DoTryReadLock(), lldb_private::LockFileWindows::DoTryReadLock(), lldb_private::LockFilePosix::DoTryWriteLock(), lldb_private::LockFileWindows::DoTryWriteLock(), lldb_private::LockFilePosix::DoUnlock(), lldb_private::LockFilePosix::DoWriteLock(), and lldb_private::LockFileWindows::DoWriteLock().