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

Function is_alpha

zdump.c:99–115  ·  view source on GitHub ↗

Is A an alphabetic character in the C locale? */

Source from the content-addressed store, hash-verified

97
98/* Is A an alphabetic character in the C locale? */
99static bool
100is_alpha(char a)
101{
102 switch (a) {
103 default:
104 return false;
105 case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'G':
106 case 'H': case 'I': case 'J': case 'K': case 'L': case 'M': case 'N':
107 case 'O': case 'P': case 'Q': case 'R': case 'S': case 'T': case 'U':
108 case 'V': case 'W': case 'X': case 'Y': case 'Z':
109 case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': case 'g':
110 case 'h': case 'i': case 'j': case 'k': case 'l': case 'm': case 'n':
111 case 'o': case 'p': case 'q': case 'r': case 's': case 't': case 'u':
112 case 'v': case 'w': case 'x': case 'y': case 'z':
113 return true;
114 }
115}
116
117ATTRIBUTE_NORETURN static void
118size_overflow(void)

Callers 2

abbrokFunction · 0.70
istrftimeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected