[#common-WriteSettings] = xref:common.adoc[common]::WriteSettings :relfileprefix: ../ :mrdocs: Write settings file. == Synopsis Declared in `<common/settings.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool WriteSettings( xref:fs/path.adoc[fs::path] const& path, std::map<std::string, SettingsValue> const& values, std::vector<std::string>& errors); ---- == Return Value true if the file was written successfully. == Parameters [cols="1,4"] |=== | Name| Description | *path* | Path to the settings file. | *values* | The settings to write. | *errors* | Populated with any write errors encountered. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#