long int strtol(const char *nptr, char **endptr, int base); 并来自 man strtol : 如果endptr不为NULL,则strtol()将第一个无效字符的地址存储在* endptr中。
確定! 回上一頁