[#BloombergLP-bdls-FilesystemUtil-unlock] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil.adoc[FilesystemUtil]::unlock :relfileprefix: ../../../ :mrdocs: Release any lock this process holds on the file with `descriptor`. == Synopsis Declared in `<bdls_filesystemutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int unlock(xref:BloombergLP/bdls/FilesystemUtil/FileDescriptor.adoc[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 [cols="1,4"] |=== | Name| Description | *descriptor* | file descriptor of the file to unlock |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#