06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

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.

strchr pREPC+ <strong>System</strong> <strong>Calls</strong><br />

strchr Searches a string for a character.<br />

#include <br />

char *strchr(<br />

const char *s, /* search string */<br />

int c /* reference character */<br />

)<br />

Description<br />

Arguments<br />

Return Value<br />

Error Codes<br />

Notes<br />

This function searches for the first occurrence of c (converted to an unsigned<br />

char) in the string pointed to by s.<br />

s Points to the string to be searched.<br />

c Specifies the reference character.<br />

This function returns a pointer to the located character. If a character is not found,<br />

it returns a null pointer.<br />

None.<br />

Callable From<br />

■ Task<br />

■ ISR<br />

3-144 <strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong>

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

Saved successfully!

Ooh no, something went wrong!