1.函数功能: 把字符串转换成整型数. master->relation_buf = atoi(rd_buff); printf("relation_buf:%d\n", master->relation_buf);