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,22 +6,13 @@
|
|||
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/11/07 16:58:22 by rparodi #+# #+# */
|
||||
/* Updated: 2025/09/01 17:49:39 by rparodi ### ########.fr */
|
||||
/* Updated: 2025/09/05 16:17:50 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "str.h"
|
||||
#include <unistd.h>
|
||||
|
||||
/**
|
||||
* @brief Locates the last occurrence of a character in a string.
|
||||
*
|
||||
* @param s The string to search.
|
||||
* @param c The character to locate.
|
||||
*
|
||||
* @return A pointer to the matched character,
|
||||
* or NULL if it does not appear in `s`.
|
||||
*/
|
||||
char *ft_strrchr(const char *s, int c)
|
||||
{
|
||||
size_t i;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue