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

Name

Description

descriptor

file descriptor of the file to unlock

Created with MrDocs