scan_int(3) parse an integer in decimal ASCII representation

SYNTAX

#include <scan.h>

size_t scan_int(const char *src,int *dest);

DESCRIPTION

scan_int parses an integer in decimal ASCII representation from src and writes the result into dest. It returns the number of bytes read from src.