File: memory.h

package info (click to toggle)
taper 6.9r-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,424 kB
  • ctags: 1,592
  • sloc: ansic: 15,906; makefile: 258
file content (21 lines) | stat: -rw-r--r-- 409 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
   Time-stamp: <97/04/20 09:48:17 yusuf>

   $Id: memory.h,v 1.7 1997/04/20 02:00:04 yusuf Exp $
*/



#include <stdlib.h>
#ifdef ASM_STRING
  #include <linux/string.h>
#else
  #include <string.h>
#endif

void init_memory(void);
void *my_malloc(size_t size);
void *my_realloc(void *block, size_t size);
void my_free(void *block);
void my_free_all(void);
						 /* have it, you'll have to do it yourself */