summaryrefslogtreecommitdiff
path: root/smalloc.h
blob: 1f7716f45a8d0308f4bcee85225382052d23d08f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef FIO_SMALLOC_H
#define FIO_SMALLOC_H

#include <stddef.h>

extern void *smalloc(size_t);
extern void *scalloc(size_t, size_t);
extern void sfree(void *);
extern char *smalloc_strdup(const char *);
extern void sinit(void);
extern void scleanup(void);
extern void smalloc_debug(size_t);

extern unsigned int smalloc_pool_size;

#endif