ATOL
Section: Linux Programmer's Manual
(3)
Updated: March 29, 1993
Index
Return to Main Contents
À̸§
atol - ¹®ÀÚ¿À» long·Î º¯È¯
»ç¿ë¹ý
#include <stdlib.h>
long atol(const char *nptr);
¼³¸í
atol() ÇÔ¼ö´Â nptr·Î ÁöÁ¤µÈ ½ºÆ¼¸µÀÇ ÃÖÃÊ ºÐÇÒ °ªÀ» longÀ¸·Î º¯È¯ÇÑ´Ù.
-
strtol(nptr, (char **)NULL, 10);
¿Í °°Àº È¿°ú¸¦ ¹ßÈÖÇÑ´Ù. ´Ü, atol()°¡ ¿¡·¯¸¦ ¹ß°ßÇßÀ» °æ¿ì¸¸.
¹Ýȯ°ª
º¯È¯µÈ °ª.
ȣȯ
SVID 3, POSIX, BSD 4.3, ISO 9899
°ü·Ã Ç׸ñ
atof(3), atoi(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