File: emalloc.h

package info (click to toggle)
brutefir 1.0k-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,424 kB
  • sloc: ansic: 22,770; asm: 498; makefile: 322; sh: 6
file content (32 lines) | stat: -rw-r--r-- 448 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * (c) Copyright 2001, 2004 -- Anders Torger
 *
 * This program is open source. For license terms, see the LICENSE file.
 *
 */
#ifndef _EMALLOC_H_
#define _EMALLOC_H_

#include <stdlib.h>

void *
emallocaligned(size_t size);
    
void *
emalloc(size_t size);

void *
erealloc(void *p,
	 size_t size);

char *
estrdup(const char str[]);

void
emalloc_set_exit_function(void (*exit_function)(int),
			  int status);

void
efree(void *p);

#endif