TeoCCl library  0.1.7
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
memory.h
Go to the documentation of this file.
1 /*
2  * \file: 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 
11 #include <stddef.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 void *ccl_malloc(size_t);
18 void *ccl_calloc(size_t);
19 char *ccl_strdup(const char *);
20 char *ccl_strndup(const char *, size_t);
21 void *ccl_realloc(void *, size_t);
22 
23 #ifdef __cplusplus
24 }
25 #endif
26 
27 #endif /* TEO_MEMORY_H */
char * ccl_strndup(const char *, size_t)
Definition: memory.c:58
void * ccl_calloc(size_t)
Definition: memory.c:37
char * ccl_strdup(const char *)
Definition: memory.c:44
void * ccl_malloc(size_t)
Definition: memory.c:28
void * ccl_realloc(void *, size_t)
Definition: memory.c:72