17.05.2015 Views

TMS34010 C Compiler - Al Kossow's Bitsavers

TMS34010 C Compiler - Al Kossow's Bitsavers

TMS34010 C Compiler - Al Kossow's Bitsavers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

memchr<br />

Find First Occurrence of Byte<br />

Syntax #include <br />

Defined in<br />

Description<br />

void *memchrCs, c, n)<br />

void *s;<br />

char c i<br />

size-t ni<br />

rnernchr. c in rts. src<br />

The memchr function finds the first occurrence of c in the first n characters<br />

of the object that s points to. If the character is found, memchr returns a<br />

pointer to the located character; otherwise, it returns a null pointer (0).<br />

The memchr function is similar to strchr, except the object that memchr<br />

searches can contain values of 0, and c can be O.<br />

6-50

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!