MCPcopy Create free account
hub / github.com/eggert/tz / getzname

Function getzname

localtime.c:1354–1363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1352*/
1353
1354ATTRIBUTE_PURE_114833 static const char *
1355getzname(register const char *strp)
1356{
1357 register char c;
1358
1359 while ((c = *strp) != '\0' && !is_digit(c) && c != ',' && c != '-' &&
1360 c != '+')
1361 ++strp;
1362 return strp;
1363}
1364
1365/*
1366** Given a pointer into an extended timezone string, scan until the ending

Callers 1

tzparseFunction · 0.85

Calls 1

is_digitFunction · 0.70

Tested by

no test coverage detected