| 430 | } |
| 431 | |
| 432 | long long acl_atoll(const char *s) |
| 433 | { |
| 434 | long long num = 0; |
| 435 | int neg = 0; |
| 436 | |
| 437 | while (isspace((int) (*s))) { |
| 438 | s++; |
| 439 | } |
| 440 | |
| 441 | if (*s == '-') { |
| 442 | neg = 1; |
| 443 | s++; |
| 444 | } |
| 445 | |
| 446 | while (isdigit((int) (*s))) { |
| 447 | num = 10 * num + (*s - '0'); |
| 448 | s++; |
| 449 | } |
| 450 | |
| 451 | if (neg) { |
| 452 | num = -num; |
| 453 | } |
| 454 | return num; |
| 455 | } |
| 456 | |
| 457 | #ifdef ACL_WINDOWS |
| 458 |
no outgoing calls
no test coverage detected
searching dependent graphs…