MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / is_valid_int

Function is_valid_int

cdb2api/cdb2api.c:1269–1278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1267}
1268
1269int is_valid_int(const char *str)
1270{
1271 while (*str) {
1272 if (!isdigit(*str))
1273 return 0;
1274 else
1275 ++str;
1276 }
1277 return 1;
1278}
1279
1280static ssl_mode ssl_string_to_mode(const char *s, int *nid_dbname)
1281{

Callers 1

read_comdb2db_cfgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected