Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 
 

ATOI

Section: Manual del Programador de Linux (3)
Updated: 23 Diciembre 1995
Index Return to Main Contents
 

NOMBRE

atoi - convierte una cadena a un entero.  

SINOPSIS

#include <stdlib.h>

int atoi(const char *nptr);
 

DESCRIPCIÓN

La función atoi() convierte la porción inicial de la cadena apuntada por nptr a int. El comportamiento es el mismo que

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

excepto que atoi() no detecta errores.  

VALOR DEVUELTO

El valor convertido.  

CONFORME A

SVID 3, POSIX, BSD 4.3, ISO 9899  

VÉASE TAMBIÉN

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


 

Index

NOMBRE
SINOPSIS
DESCRIPCIÓN
VALOR DEVUELTO
CONFORME A
VÉASE TAMBIÉN

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "Linuxinfor Man Pages in HTML Format: man3". See Index Page for more info about Authorship and Copyright.

1999-2008 Linuxinfor.com. No rights reserved.