You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 ofchar *dst
, hence the confusion maybe?The text was updated successfully, but these errors were encountered: