00001 /* 00002 ** malloc.h for lseos in lseos-lib/libc/sysinterf 00003 ** 00004 ** Copyright (c)2004 Vianney Rancurel, Arthur Kopatsy 00005 ** Login <vianney@epita.fr> 00006 ** 00007 ** Started on Fri Feb 20 17:38:46 2004 Vianney Rancurel 00008 ** Last update Mon Nov 29 18:29:14 2004 Vianney Rancurel 00009 */ 00010 #ifndef __SYSINTERF_MALLOC_H__ 00011 #define __SYSINTERF_MALLOC_H__ 1 00012 #include <libc.h> 00013 00014 /* PROTO malloc.c */ 00015 /* malloc.c */ 00016 vaddr_t do_big_alloc(asid_t asid, int nb_pgs); 00017 void *malloc(size_t nbytes); 00018 int free2(void *p); 00019 void free(void *p); 00020 void *realloc(void *p, size_t n); 00021 void *calloc(size_t nelem, size_t elsize); 00022 #endif