mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
wordsplit: handle single word with spaces before or after
This commit is contained in:
parent
fc985ea046
commit
8defbf4d13
9 changed files with 154 additions and 16 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: jguelen <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/10/17 16:06:09 by jguelen #+# #+# */
|
||||
/* Updated: 2025/02/20 14:44:53 by khais ### ########.fr */
|
||||
/* Updated: 2025/02/20 14:48:28 by khais ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -130,6 +130,8 @@ size_t ft_strlcat(char *dst, const char *src, size_t size);
|
|||
int ft_toupper(int c);
|
||||
int ft_tolower(int c);
|
||||
char *ft_strchr(const char *s, int c);
|
||||
size_t ft_strchridx(const char *s, char c);
|
||||
size_t ft_strnchridx(const char *s, char c);
|
||||
char *ft_strrchr(const char *s, int c);
|
||||
int ft_strcmp(const char *s1, const char *s2);
|
||||
int ft_strncmp(const char *s1, const char *s2, size_t n);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue