Libft
 
Loading...
Searching...
No Matches
ft_strlcpy.c File Reference
#include <stddef.h>
Include dependency graph for ft_strlcpy.c:

Functions

size_t ft_strlcpy (char *dst, char *src, size_t size)
 Copy of src into dst, up to size bytes.
 

Function Documentation

◆ ft_strlcpy()

size_t ft_strlcpy ( char * dst,
char * src,
size_t size )

Copy of src into dst, up to size bytes.

Parameters
dstdestination string
srcsource string
sizesize of the destination string
Returns
size_t size of src