[#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 the specified `descriptor`. Return 0 on success, and a non‐zero value otherwise. == Synopsis Declared in `<bdls_filesystemutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int unlock(xref:BloombergLP/bdls/FilesystemUtil/FileDescriptor.adoc[FileDescriptor] descriptor); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#