ATOI

Section: Linux Programmer's Manual (3)
Updated: March 29, 1993
Index
Return to Main Contents
 

À̸§

atoi - ¹®ÀÚ¿­À» int·Î º¯È¯  

»ç¿ë¹ý

#include <stdlib.h>

int atoi(const char *nptr);
 

¼³¸í

atoi() ÇÔ¼ö´Â nptr ·Î ÁöÁ¤µÈ ½ºÆ®¸µÀÇ ÃÖÃÊ ºÐÇÒ °ªÀ» int·Î º¯È¯ÇÑ´Ù.

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

¿Í °°Àº È¿°ú¸¦ ¹ßÈÖÇÑ´Ù. ´Ü, atoi()°¡ ¿¡·¯¸¦ ¹ß°ßÇßÀ» °æ¿ì¸¸.  

¹Ýȯ°ª

º¯È¯µÈ °ª.  

ȣȯ

SVID 3, POSIX, BSD 4.3, ISO 9899  

°ü·Ã Ç׸ñ

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


 

Index

À̸§
»ç¿ë¹ý
¼³¸í
¹Ýȯ°ª
ȣȯ
°ü·Ã Ç׸ñ

This document was created by man2html, using the manual pages.
Time: 08:07:01 GMT, March 25, 2004