MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / tt_timezone_get_name

Function tt_timezone_get_name

TactilityC/Source/tt_time.cpp:14–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14bool tt_timezone_get_name(char* buffer, size_t bufferSize) {
15 auto name = settings::getTimeZoneName();
16 if (bufferSize < (name.length() + 1)) {
17 return false;
18 } else {
19 strcpy(buffer, name.c_str());
20 return true;
21 }
22}
23
24bool tt_timezone_get_code(char* buffer, size_t bufferSize) {
25 auto code = settings::getTimeZoneCode();

Callers

nothing calls this directly

Calls 1

getTimeZoneNameFunction · 0.85

Tested by

no test coverage detected