- Function
Search for a character in a block of raw memory.
- Header
- Declaration
void* __fastcall__ strchr (const void* mem, int c, size_t count);
- Description
The
memchr
function locates the first occurrence ofc
(converted to a char) in the block of raw memory string pointed to bymem
that is of sizecount
. Upon completion, the function returns a pointer to the character found, or a null pointer if the character was not found.- Limits
- The function is only available as fastcall function, so it may only be used in presence of a prototype.
- Availability
ISO 9899
- See also
- Example
None.