<< Previous | Next >>

xmemchr

long xmemchr( long src, char ch, unsigned short n );

Description

Search for the first occurrence of character ch in the xmem area pointed to by src.

Parameters

src
xmem (linear) address of the first character to search.

ch
Character to search for.

n
Maximum number of characters to search.

Return value

 0: Character was not found within n bytes from the start.
>0: Physical address of the first character that matched ch.

Library

XMEM.LIB


Dynamic C Functions << Previous | Next >> rabbit.com