MCPcopy Create free account
hub / github.com/ElementsProject/lightning / cisalnum

Function cisalnum

ccan/ccan/str/str.h:110–113  ·  view source on GitHub ↗

* cisalnum - isalnum() which takes a char (and doesn't accept EOF) * @c: a character * * Surprisingly, the standard ctype.h isalnum() takes an int, which * must have the value of EOF (-1) or an unsigned char. This variant * takes a real char, and doesn't accept EOF. */

Source from the content-addressed store, hash-verified

108 * takes a real char, and doesn't accept EOF.
109 */
110static inline bool cisalnum(char c)
111{
112 return isalnum((unsigned char)c);
113}
114static inline bool cisalpha(char c)
115{
116 return isalpha((unsigned char)c);

Callers 3

tokenizeFunction · 0.85
db_table_nameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected