[#BloombergLP-bdls-FilesystemUtil-close] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil.adoc[FilesystemUtil]::close :relfileprefix: ../../../ :mrdocs: Close the specified `descriptor`. Return 0 on success and a non‐zero value otherwise. A return value of `k_BAD_FILE_DESCRIPTOR` indicates that the supplied `descriptor` is invalid. == Synopsis Declared in `<bdls_filesystemutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int close(xref:BloombergLP/bdls/FilesystemUtil/FileDescriptor.adoc[FileDescriptor] descriptor); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#