1337-Libft-42 icon indicating copy to clipboard operation
1337-Libft-42 copied to clipboard

minor spelling error

Open Ella-42 opened this issue 1 year ago • 0 comments

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?

Ella-42 avatar Jan 12 '23 18:01 Ella-42