🧱 ft_strchr


📂 Category

String Functions

📁 Repository

LIB_FT

📝 File

ft_strchr.c


⚠️ Educational Warning

This material is for educational purposes only. Use it to understand concepts and develop your own solutions.


🖥️ Prototype

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

💡 Note

Searches for the first occurrence of a character in a string.


🧱 Description

ft_strchr scans the string s until it finds the first occurrence of the character c (converted to char).