docs(str): moving the actual documentation on the header

- The documentation on the header allow u to see on the files where the
header is inclued
This commit is contained in:
Raphael 2025-09-05 16:30:00 +02:00
parent 701ce57f84
commit 2cf0714dc7
No known key found for this signature in database
18 changed files with 189 additions and 172 deletions

View file

@ -6,7 +6,7 @@
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/09 13:56:02 by rparodi #+# #+# */
/* Updated: 2025/09/01 17:49:19 by rparodi ### ########.fr */
/* Updated: 2025/09/05 16:17:50 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
@ -74,15 +74,6 @@ static char **ext_w(char **words_array, const char *str, char sep, int size)
return (words_array);
}
/**
* @brief Splits a string into an array of substrings based on a delimiter.
*
* @param s The string to split.
* @param c The delimiter character.
*
* @return A NULL-terminated array of substrings,
* or NULL if memory allocation fails.
*/
char **ft_split(char const *s, char c)
{
int size;