Search for a character in a block of raw memory.
void* __fastcall__ strchr (const void* mem, int c, size_t count);
memchrfunction locates the first occurrence of
c(converted to a char) in the block of raw memory string pointed to by
memthat is of size
count. Upon completion, the function returns a pointer to the character found, or a null pointer if the character was not found.
- The function is only available as fastcall function, so it may only be used in presence of a prototype.
- See also