memchr() function searches for the first occurrence of the character in a specified number of characters.
|str||Required||Specifies a string (block of memory) where the search is performed.|
|ch||Required||Specifies a character to search for.|
|n||Required||Specifies the number of bytes to be scanned.|
|Address||Returns a pointer to the matching byte.|
|NULL||If the character does not occur in the given memory area.|