Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Main Page
Related Pages
Modules
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
d
e
f
g
h
j
l
m
n
o
p
r
s
t
u
w
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Related Functions
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
g
h
i
k
l
m
n
p
q
r
s
t
u
v
x
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
malloc.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2014 Freie Universität Berlin
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
32
#ifndef MALLOC_H
33
#define MALLOC_H
34
35
#include <stdlib.h>
36
37
#ifdef __cplusplus
38
extern
"C"
{
39
#endif
40
46
void
*
malloc
(
size_t
size);
47
58
void
*
realloc
(
void
*ptr,
size_t
size);
59
68
void
*
calloc
(
size_t
size,
size_t
cnt);
69
76
void
free
(
void
*ptr);
77
78
#ifdef __cplusplus
79
}
80
#endif
81
82
#endif
/* MALLOC_H */
83
realloc
void * realloc(void *ptr, size_t size)
Allocated a new block of memory and move the existing content.
malloc
void * malloc(size_t size)
Allocation a block of memory.
calloc
void * calloc(size_t size, size_t cnt)
Allocate a memory block and set all its content to zeroes.
free
void free(void *ptr)
This is a no-op.
Generated on Tue Nov 24 2020 19:46:52 by
1.8.17