[#BloombergLP-bdls-FilesystemUtil-findMatchingPaths-065e] = 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`. == Synopses Declared in `<bdls_filesystemutil.h>` Load into `result` all filesystem paths matching `pattern`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdls/FilesystemUtil/findMatchingPaths-065c.adoc[findMatchingPaths]( xref:bsl/vector-00d.adoc[bsl::vector<bsl::string>]* result, char const* pattern); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil/findMatchingPaths-065c.adoc[_» more..._]# Load into `result` all filesystem paths matching `pattern`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdls/FilesystemUtil/findMatchingPaths-0ff.adoc[findMatchingPaths]( std::pmr::vector<std::pmr::string>* result, char const* pattern); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil/findMatchingPaths-0ff.adoc[_» more..._]# Load into `result` all filesystem paths matching `pattern`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdls/FilesystemUtil/findMatchingPaths-09.adoc[findMatchingPaths]( std::vector<std::string>* result, char const* pattern); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil/findMatchingPaths-09.adoc[_» more..._]# Load into `result` all filesystem paths matching `pattern`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STRING_TYPE> static int xref:BloombergLP/bdls/FilesystemUtil/findMatchingPaths-0e.adoc[findMatchingPaths]( xref:bsl/vector-00d.adoc[bsl::vector<bsl::string>]* result, STRING_TYPE const& pattern); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil/findMatchingPaths-0e.adoc[_» more..._]# Load into `result` all filesystem paths matching `pattern`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STRING_TYPE> static int xref:BloombergLP/bdls/FilesystemUtil/findMatchingPaths-0fc.adoc[findMatchingPaths]( std::pmr::vector<std::pmr::string>* result, STRING_TYPE const& pattern); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil/findMatchingPaths-0fc.adoc[_» more..._]# Load into `result` all filesystem paths matching `pattern`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STRING_TYPE> static int xref:BloombergLP/bdls/FilesystemUtil/findMatchingPaths-0d.adoc[findMatchingPaths]( std::vector<std::string>* result, STRING_TYPE const& pattern); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil/findMatchingPaths-0d.adoc[_» more..._]# == Return Value * 0 on success, and a non‐zero value otherwise * 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]#