Library Functions and Procedures Manual

NAME
atoi - convert a string to an integer

LIBRARY
Foundational library (libfndn, -lfndn)

SYNOPSIS
C:
#include <core/strconv.h> int atoi(const char *str, char **rem, unsigned int *num, unsigned int base);

Pascal:
use strconv;

function atoi(str: PChar, rem: PChar, num: PLongWord, base: LongWord):
LongWord; cdecl; external;
DESCRIPTION

The atoi() function converts the initial part in str to a integer value according to the given base, which must be between 2 and 36 inclusive.