fix issue #263

Signed-off-by: xiehuc <xiehuc@gmail.com>
move atoi to s_atoi
Signed-off-by: xiehuc <xiehuc@gmail.com>

Signed-off-by: xiehuc <xiehuc@gmail.com>