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:
parent
701ce57f84
commit
2cf0714dc7
18 changed files with 189 additions and 172 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/11/09 13:56:57 by rparodi #+# #+# */
|
||||
/* Updated: 2025/09/01 18:28:51 by rparodi ### ########.fr */
|
||||
/* Updated: 2025/09/05 16:17:50 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -14,15 +14,6 @@
|
|||
#include "str.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
/**
|
||||
* @brief Applies a function to each character of a string.
|
||||
*
|
||||
* @param s The input string.
|
||||
* @param f The function to apply to each character.
|
||||
*
|
||||
* @return A pointer to the newly created string,
|
||||
* or NULL if memory allocation fails.
|
||||
*/
|
||||
char *ft_strmapi(char const *s, char (*f)(unsigned int, char))
|
||||
{
|
||||
size_t i;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue