摘要: malloc(0)是什么都不分配吗?为什么malloc(0)会返回一个指针,并且这个指针可以被安全的free呢?​ linux手册上的说明 If size is 0, then malloc() returns either NULL, or a unique pointer value that 阅读全文
posted @ 2020-08-21 00:14 Velscode 阅读(432) 评论(0) 推荐(0) 编辑