摘要: 应对大文件读写,采用mmap内存映射可以减少IO访问,提高读写效率。 int open(const char *pathname, int flags); void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t 阅读全文
posted @ 2022-04-08 10:27 mcdull^0^ 阅读(3947) 评论(0) 推荐(1) 编辑