Corewar documentation 1.0.0
|
The file containing the my_malloc_strndup function. More...
#include "mymemory.h"
Functions | |
char * | my_malloc_strndup (char const *src, int n) |
Duplicates a string with a defined size with my_malloc. | |
The file containing the my_malloc_strndup function.
char * my_malloc_strndup | ( | char const * | src, |
int | n ) |
Duplicates a string with a defined size with my_malloc.
src | The string to duplicate |
n | The size of the string |