aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/mlibc/stdlib/liballoc.h
blob: d21aeb42689548724eb8661e3ec915dd025e63c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef MELVIX_ALLOC_H
#define MELVIX_ALLOC_H

#include <stddef.h>

int liballoc_lock();

int liballoc_unlock();

void *liballoc_alloc(size_t);

int liballoc_free(void *, size_t);

void *malloc(size_t);

void *realloc(void *, size_t);

void *calloc(size_t, size_t);

void free(void *);

#endif