본문 바로가기
C 언어

atol

by SpeeDr00t 2016. 7. 9.
반응형

long

atol(const char *str)*endptr, int base)



#include <stdlib.h>

long
atol(const char *str)
{
	return(strtol(str, (char **)NULL, 10));
}
반응형

'C 언어' 카테고리의 다른 글

atoi  (0) 2016.07.09
strtol  (0) 2016.07.09
strtoll  (0) 2016.07.09
atoll  (0) 2016.07.09
calloc  (0) 2016.07.09