DOKK / manpages / debian 12 / libowfat-dev / scan_long.3.en
scan_long(3) Library Functions Manual scan_long(3)

scan_long - parse an long integer in decimal ASCII representation

#include <libowfat/scan.h>

size_t scan_long(const char *src,long *dest);

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

scan_ulong(3), scan_xlong(3), scan_8long(3), fmt_long(3)