1337-Libft-42
1337-Libft-42 copied to clipboard
minor spelling error
in libft.h the function ft_strlcat is prototyped differently than it is in ft_strlcat.c
the only small difference being 1 letter 'e' in dst
ft_strlcat.c:
size_t ft_strlcat(char *dst, const char *src, size_t size)
libft.h:
size_t ft_strlcat(char *dest, const char *src, size_t size);
as an additional note, ft_strlcpy is prototyped correctly in the libft.h file as: size_t ft_strlcpy(char *dest, const char *src, size_t size);
it uses char *dest
instead of char *dst
, hence the confusion maybe?