Ubuntu Manpages

scan_int

parse an integer in decimal ASCII representation

#include <scan.h>

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

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.

scan_long(3), scan_xint(3), scan_8int(3), fmt_int(3)