char *strsep(char **stringp, const char *delim);
功能:分解字符串为一组字符串。从stringp指向的位置起向后扫描,遇到delim指向位置的字符后,将此字符替换为NULL,返回stringp指向的地址
long int strtol(const char *nptr, char **endptr, int base)
功能:strtol()会将nptr指向的字符串,根据参数base,按权转化为long int, 然后返回这个值。
char *strsep(char **stringp, const char *delim);
功能:分解字符串为一组字符串。从stringp指向的位置起向后扫描,遇到delim指向位置的字符后,将此字符替换为NULL,返回stringp指向的地址
long int strtol(const char *nptr, char **endptr, int base)
功能:strtol()会将nptr指向的字符串,根据参数base,按权转化为long int, 然后返回这个值。