摘要:
1 typedef long Align; 2 3 union header{ 4 struct{ 5 union header *ptr; 6 unsigned size; 7 } s; 8 Align x; 9 };10 11 typedef union header Header;12 13 14 static Header base;15 static Header *freep = NULL;16 17 void *malloc(unsigned nbytes){18 Header *p, *prevp;19 ... 阅读全文