#include "stdlib.h"
stdlib.cのインクルード依存関係図
関数 | |
int | dkcstd_atoi (const char *p) |
int | dkcstd_atox (const char *p) |
'0' == 0x30 '9'== 0x39 110000 'A' == 0x41 'F'== 0x46 1000001 'a' == 0x61 'f' ==0x66 1100001 |
stdlib.c で定義されています。
|
00012 { 00013 int r = 0; 00014 for(;*p;p++) 00015 { 00016 //'0' == 0x30 '9'== 0x39 00017 r = r * 10 + *p - 0x30; 00018 } 00019 return r; 00020 }
|
|