RTRlib
Loading...
Searching...
No Matches
alloc_utils_private.h
Go to the documentation of this file.
1/*
2 * This file is part of RTRlib.
3 *
4 * This file is subject to the terms and conditions of the MIT license.
5 * See the file LICENSE in the top level directory for more details.
6 *
7 * Website: http://rtrlib.realmv6.org/
8 */
9
10#ifndef LRTR_ALLOC_UTILS_PRIVATE_H
11#define LRTR_ALLOC_UTILS_PRIVATE_H
12
13#include "alloc_utils.h"
14
15#include <stdlib.h>
16
17void *lrtr_malloc(size_t size);
18
19void *lrtr_calloc(size_t nmemb, size_t size);
20
21void lrtr_free(void *ptr);
22
23void *lrtr_realloc(void *ptr, size_t size);
24
32char *lrtr_strdup(const char *string);
33
34#endif
void lrtr_free(void *ptr)
void * lrtr_calloc(size_t nmemb, size_t size)
char * lrtr_strdup(const char *string)
Duplicates a string.
void * lrtr_malloc(size_t size)
void * lrtr_realloc(void *ptr, size_t size)