libft
Loading...
Searching...
No Matches
ft_strrchr.c File Reference
#include "libft.h"

Go to the source code of this file.

Functions

char * ft_strrchr (const char *s, int c)
 Search a character starting from the end.
 

Function Documentation

◆ ft_strrchr()

char * ft_strrchr ( const char *  s,
int  c 
)

Search a character starting from the end.

Searches a character from a string and returns it's address.

Parameters
sString
cCharacter
Returns
char* Address of found char or NULL if not found

Definition at line 15 of file ft_strrchr.c.