MCPcopy 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
3937bool lock_file_handle(FILE *handle, bool write)
3938{
3939 return lock_file(fileno(handle), write, true);
3940}
3941
3942bool unlock_file_handle(FILE *handle)
3943{

Callers 2

_read_each_messageFunction · 0.85
lk_openFunction · 0.85

Calls 1

lock_fileFunction · 0.85

Tested by

no test coverage detected