tgrekov-fdf
HIVE fdf May 2024
|
Definition in file ft_strlcpy.c.
#include "libft.h"
Go to the source code of this file.
Functions | |
size_t | ft_strlcpy (char *dst, const char *src, size_t dstsize) |
Copy at most dstsize - 1 characters from string src into dst . | |
size_t ft_strlcpy | ( | char * | dst, |
const char * | src, | ||
size_t | dstsize | ||
) |
Copy at most dstsize - 1
characters from string src
into dst
.
Null-terminates dst
if dstsize != 0
[in,out] | dst | Pointer to allocated memory of at least ft_strlen(src ) or dstsize size, whichever is smaller |
[in] | src | Optionally null-terminated string string |
[in] | dstsize | Number of characters to copy, should be no greater than the allocated space at dst |
size_t | Length of src |
Definition at line 36 of file ft_strlcpy.c.
References ft_strlen().