[#BloombergLP-bdls-FilesystemUtil-findMatchingPaths-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil.adoc[FilesystemUtil]::findMatchingPaths :relfileprefix: ../../../ :mrdocs: Load into `result` all filesystem paths matching `pattern`. == Synopsis Declared in `<bdls_filesystemutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int findMatchingPaths( std::vector<std::string>* result, char const* pattern); ---- == Description Same as the overload taking `bsl::vector<bsl::string> *`. == Return Value the number of paths matched on success, and a negative value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *result* | receives the matching path names | *pattern* | glob‐style pattern to match |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#