Skip to main content

tzname_strings

Function tzname_strings 

Source
pub fn tzname_strings() -> (String, String)
Expand description

Snapshot of tzname[0] / tzname[1] as owned Strings. Reads the C globals once and copies the bytes out so callers don’t have to handle the raw pointers themselves.