[#BloombergLP-baltzo-DefaultZoneinfoCache-defaultZoneinfoDataLocation]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/DefaultZoneinfoCache.adoc[DefaultZoneinfoCache]::defaultZoneinfoDataLocation
:relfileprefix: ../../../
:mrdocs:

Return the default Zoneinfo Database root path&period;

== Synopsis

Declared in `&lt;baltzo&lowbar;defaultzoneinfocache&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
char const*
defaultZoneinfoDataLocation();
----

== Description

Return a null terminated (C&hyphen;style) string describing the default file&hyphen;system path of the (expected) root of the Zoneinfo Database time&hyphen;zone information files&period; The returned string will be the current value of the `BDE&lowbar;ZONEINFO&lowbar;ROOT&lowbar;PATH` environment variable, if set, or else one of a (priority ordered) sequence of (platform&hyphen;specific) standard directories, if one of those directories exists and contains a sub&hyphen;set of expected files, and the current directory, otherwise&period; The behavior is undefined if the returned address is dereferenced after a subsequent call to the `putenv` POSIX function to set the `BDE&lowbar;ZONEINFO&lowbar;ROOT&lowbar;PATH` environment variable&period;

== Return Value

a null&hyphen;terminated string for the default Zoneinfo root path


[.small]#Created with https://www.mrdocs.com[MrDocs]#
