Plan 9 from Bell Labs’s /usr/web/sources/extra/9hist/gnot/malloc.h

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


## diffname gnot/malloc.h 1990/0928
## diff -e /dev/null /n/bootesdump/1990/0928/sys/src/9/68020/malloc.h
0a
struct tbl_entry {
	struct tbl_entry *next;		/* free list */
	int *data;			/* data */
};

struct table {
	int size;			/* # entries */
	struct tbl_entry *entries;	/* the entries */
	struct tbl_entry *free;		/* the free list */
};

void *tbl_alloc(struct table *, int);
void tbl_free(struct table *, void *);
int tbl_index(struct table *, void *);
void *tbl_data(struct table *, int);
.
## diffname gnot/malloc.h 1993/0501 # deleted
## diff -e /n/bootesdump/1991/0201/sys/src/9/68020/malloc.h /n/fornaxdump/1993/0501/sys/src/brazil/gnot/malloc.h
1,15d

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.