Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor spelling error #1

Open
Ella-42 opened this issue Jan 12, 2023 · 0 comments
Open

minor spelling error #1

Ella-42 opened this issue Jan 12, 2023 · 0 comments

Comments

@Ella-42
Copy link

Ella-42 commented Jan 12, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant