ftp.nice.ch/pub/next/developer/languages/c/gcc.2.7.2.2.I.b.tar.gz#/lib/gcc-lib/i386-next-nextstep3/2.7.2.2.f.2/include/kernserv/kalloc.h

This is kalloc.h in view mode; [Download] [Up]

/* 
 * HISTORY
 *  3-Jan-90 Gregg Kellogg (gk) at NeXT, Inc.
 *	Modified parameters to use void * instead of caddr_t.
 *
 * 26-Oct-87 Peter King (king) at NeXT, Inc.
 *	Created.
 */ 

#ifndef	_KERN_INTERNAL_KALLOC_H_
#define _KERN_INTERNAL_KALLOC_H_

#import <machine/machparam.h>

#define MINSIZE 32

#ifdef	KERNEL
extern void kallocinit(void);
extern void *kalloc(int size);
extern void *kget(int size);
extern void kfree(void *data, long size);
extern void *kalloc_contiguous(int size);


extern void *malloc(unsigned int size);
extern void *calloc(unsigned int num, unsigned int size);
extern void *realloc(void *addr, unsigned int size);
extern void free(void *data);
extern void malloc_good_size(unsigned int size);
#endif
#endif

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.