MCPcopy Create free account
hub / github.com/acl-dev/acl / acl_alldig

Function acl_alldig

lib_acl/src/stdlib/string/acl_alldig.c:20–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18/* acl_alldig - return true if string is all digits */
19
20int acl_alldig(const char *s)
21{
22 if (s == NULL || *s == 0)
23 return 0;
24 for (; *s != 0; s++)
25 if (!ACL_ISDIGIT(*s))
26 return 0;
27 return 1;
28}
29
30int acl_is_double(const char *s)
31{

Callers 15

acl_fiber_server_mainFunction · 0.85
get_portFunction · 0.85
acl_fiber_server_mainFunction · 0.85
fiber_mainFunction · 0.85
acl_host_portFunction · 0.85
valid_portFunction · 0.85
ipv4_cloneFunction · 0.85
ipv6_cloneFunction · 0.85
is_ipaddrFunction · 0.85
server_mainFunction · 0.85
acl_threads_server_mainFunction · 0.85
get_addrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…