scan_int man page

scan_int — 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.

See Also

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

Referenced By

scan_8int(3), scan_short(3).