MCPcopy Create free account
hub / github.com/F-Stack/f-stack / is_integer

Function is_integer

lib/ff_config.c:143–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143static int
144is_integer(const char *s)
145{
146 if (*s == '-' || *s == '+')
147 s++;
148 if (*s < '0' || '9' < *s)
149 return 0;
150 s++;
151 while ('0' <= *s && *s <= '9')
152 s++;
153 return (*s == '\0');
154}
155
156static int
157freebsd_conf_handler(struct ff_config *cfg, const char *section,

Callers 1

freebsd_conf_handlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected