File: smalloc.h

package info (click to toggle)
fio 3.41-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,012 kB
  • sloc: ansic: 82,290; python: 9,862; sh: 6,067; makefile: 813; yacc: 204; lex: 184
file content (16 lines) | stat: -rw-r--r-- 340 bytes parent folder | download | duplicates (4)
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