File:  [MW Coherent from dump] / coherent / d / bin / sh / old / malloc.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:39 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

#define isfree(x) (((unsigned)(x)) & FREE)
#define roundup(i,j) (((i) + (1 << (j)) - 1) & ~((1 << (j)) - 1))
#define adr(x) ((char *) x)
#define realsize(x) ((x) & ~FREE)
#define BADSBRK ((char *) - 1)
#define POW2	1			/* pieces taken in increments of 2 */
#define LEASTFREE sizeof(unsigned)	/* free nothing smaller than this */
#define FREE 1

static struct mblock {
	unsigned blksize;
	union {
		char	 *next;
		unsigned usera[];
	} uval;
};

unix.superglobalmegacorp.com

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