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

Go to the source code of this file.

Functions

char * ft_strchr (const char *s, int c)
 Search a character.
 

Function Documentation

◆ ft_strchr()

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

Search a character.

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

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

Definition at line 15 of file ft_strchr.c.