BloombergLP::bdls::FilesystemUtil::unlock

Release any lock this process holds on the file with descriptor.

Synopsis

Declared in <bdls_filesystemutil.h>

static
int
unlock(FileDescriptor descriptor);

Description

Return 0 on success, and a non-zero value otherwise.

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
descriptorfile descriptor of the file to unlock