BloombergLP::baltzo::DataFileLoader::configureRootPathIfPlausible

Set the Zoneinfo root directory path if it appears valid.

Synopsis

Declared in <baltzo_datafileloader.h>

int
configureRootPathIfPlausible(char const* path);

Description

Set, to the specified path, the root of the file-system directory hierarchy from which this loader will read Zoneinfo binary time-zone information files. Return 0 on success, and a non-zero value (without no effect) if path is not a directory that appears to contain valid Zoneinfo data, as determined by calling isPlausibleZoneinfoRootPath on path.

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
pathroot directory for Zoneinfo binary data files