Name

memscan — Find a character in an area of memory.

Synopsis

void * memscan (void * addr,
 int c,
 size_t size);
 

Arguments

void * addr

The memory area

int c

The byte to search for

size_t size

The size of the area.

Description

returns the address of the first occurrence of c, or 1 byte past the area if c is not found