Annotation of coherent/d/bin/sh/old/malloc.h, revision 1.1

1.1     ! root        1: #define isfree(x) (((unsigned)(x)) & FREE)
        !             2: #define roundup(i,j) (((i) + (1 << (j)) - 1) & ~((1 << (j)) - 1))
        !             3: #define adr(x) ((char *) x)
        !             4: #define realsize(x) ((x) & ~FREE)
        !             5: #define BADSBRK ((char *) - 1)
        !             6: #define POW2   1                       /* pieces taken in increments of 2 */
        !             7: #define LEASTFREE sizeof(unsigned)     /* free nothing smaller than this */
        !             8: #define FREE 1
        !             9: 
        !            10: static struct mblock {
        !            11:        unsigned blksize;
        !            12:        union {
        !            13:                char     *next;
        !            14:                unsigned usera[];
        !            15:        } uval;
        !            16: };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.