摘要: 一. 简单动态字符串(SDA,simple dynamic string) ##1. 定义 struct sdshdr { int len; // 记录buf中已使用字节数量,等于SDS所保存字符串的长度 int free; // 记录buf中未使用字节数量 char buf[]; // 用于保存字 阅读全文
posted @ 2022-03-08 16:58 fwx 阅读(36) 评论(0) 推荐(0)