SysTutorials

Linux Manual Pages › Section 9

strchr(9)

strchr - Find the first occurrence of a character in a string

Synopsis

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

Arguments

s

The string to be searched

c

The character to search for

Copyright