File: alloc.h

package info (click to toggle)
dq 20181021-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 1,620 kB
  • sloc: ansic: 9,200; sh: 419; python: 77; makefile: 15
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