Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crawl/crawl
/ lock_file_handle
Function
lock_file_handle
crawl-ref/source/files.cc:3937–3940 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3935
// Locking
3936
3937
bool lock_file_handle(FILE *handle, bool write)
3938
{
3939
return lock_file(fileno(handle), write, true);
3940
}
3941
3942
bool unlock_file_handle(FILE *handle)
3943
{
Callers
2
_read_each_message
Function · 0.85
lk_open
Function · 0.85
Calls
1
lock_file
Function · 0.85
Tested by
no test coverage detected