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.

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

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

#include <br />

char *strrchr(<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 locates the last occurrence of c (converted to a char) in a string (s).<br />

The terminating null character is considered part of the string.<br />

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

c Specifies the reference character.<br />

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

returns a null pointer.<br />

None.<br />

Callable From<br />

■ Task<br />

■ ISR<br />

<strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong> 3-161<br />

3

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

Saved successfully!

Ooh no, something went wrong!