MCPcopy Create free account
hub / github.com/SIPp/sipp / get_long_long

Function get_long_long

src/scenario.cpp:168–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168unsigned long long get_long_long(const char *ptr, const char *what)
169{
170 char *endptr;
171 unsigned long long ret;
172
173 ret = strtoull(ptr, &endptr, 0);
174 if (*endptr) {
175 ERROR("%s, \"%s\" is not a valid integer!", what, ptr);
176 }
177 return ret;
178}
179
180/* This function returns a time in milliseconds from a string.
181 * The multiplier is used to convert from the default input type into

Callers 1

mainFunction · 0.85

Calls 1

ERRORFunction · 0.85

Tested by

no test coverage detected