File: alloc.h

package info (click to toggle)
dq 20251001-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,376 kB
  • sloc: ansic: 13,644; python: 651; makefile: 382; sh: 336
file content (16 lines) | stat: -rw-r--r-- 343 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _ALLOC_H____
#define _ALLOC_H____

#ifdef TEST
extern void alloc_setlimit(long long);
extern long long alloc_getallocated(void);
extern long long alloc_getspace(void);
#endif

extern void *alloc(long long);
extern void alloc_free(void *x);
extern int alloc_re(void **x, long long, long long);
extern void alloc_freeall(void);

#endif