Provided by: manpages-pt-dev_20040726-5_all bug

NOME

       atoi - converte uma string para um inteiro.

SINOPSE

       #include <stdlib.h>

       int atoi(const char *nptr);

DESCRIÇÃO

       A  função  atoi()  converte  a  parte  inicial  da string nptr para um valor inteiro. Comporta-se de modo
       semelhante à

              strtol(nptr, (char **)NULL, 10);

       , mas não faz detecção de erros.

VALOR RETORNADO

       O valor convertido.

DE ACORDO COM

       SVID 3, POSIX, BSD 4.3, ISO 9899

VER TAMBÉM

       atof(3), atol(3), strtod(3), strtol(3), strtoul(3)

GNU                                              March 29, 1993                                          ATOI(3)