Ubuntu Manpages

scan_ulong

parse an unsigned long integer in decimal ASCII representation

#include <scan.h>

size_t scan_ulong(const char *src,unsigned long *dest);

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

scan_xlong(3), scan_8long(3), fmt_ulong(3)