aboutsummaryrefslogtreecommitdiff
path: root/include/08.heap/deo14
blob: 8bfb6f0c41ee5fa1e82954ea02f4e61c611045be (plain)
1
2
3
4
    /* iterate blocks */
    for (b = heap->fblock; b; b = b->next) {
        /* check if block has enough room */
        if (b->size - (b->used * b->bsize) >= size) {