Teonet library  0.4.7
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
teo_memory.h
Go to the documentation of this file.
1 /*
2  * \file: teo_memory.h
3  * \author: max <mpano91@gmail.com>
4  *
5  * Created on Apr 23, 2019, 7:52 PM
6  */
7 
8 #ifndef TEO_MEMORY_H
9 #define TEO_MEMORY_H
10 #include <sys/types.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 void *teo_malloc(size_t);
17 void *teo_calloc(size_t);
18 char *teo_strdup(const char *);
19 char *teo_strndup(char *, size_t);
20 void *teo_realloc(void *, size_t);
21 
22 #ifdef __cplusplus
23 }
24 #endif
25 
26 #endif /* TEO_MEMORY_H */
27 
char * teo_strndup(char *, size_t)
Definition: teo_memory.c:51
void * teo_malloc(size_t)
Definition: teo_memory.c:22
char * teo_strdup(const char *)
Definition: teo_memory.c:41
void * teo_calloc(size_t)
Definition: teo_memory.c:32
void * teo_realloc(void *, size_t)
Definition: teo_memory.c:64