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

Function toknum

util/segstring.c:309–314  ·  view source on GitHub ↗

RETURN STRTOL OF TOKEN */

Source from the content-addressed store, hash-verified

307
308/* RETURN STRTOL OF TOKEN */
309int toknum(const char *tok, int ltok)
310{
311 char lnum[32];
312 F2CSTRD(tok, ltok, lnum);
313 return strtol(lnum, 0, 0);
314}
315/* RETURN STRTOL OF TOKEN */
316int toknumbase(const char *tok, int ltok, int base)
317{

Callers 13

bdb_process_user_commandFunction · 0.85
thdpool_process_messageFunction · 0.85
deferred_do_commandsFunction · 0.85
read_lrl_optionFunction · 0.85
partial_key_lengthFunction · 0.85
new_dynamic_schemaFunction · 0.85
ssl_process_lrlFunction · 0.85
parse_range_tokFunction · 0.85
reqlog_process_messageFunction · 0.85
process_sync_commandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected