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.

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

strpbrk Searches a string for a character in a second string.<br />

#include <br />

char *strpbrk(<br />

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

const char *s2 /* reference string */<br />

)<br />

Description<br />

Arguments<br />

Return Value<br />

Error Codes<br />

Notes<br />

This function locates the first occurrence in one string (s1) of any character in<br />

another string (s2).<br />

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

s2 Points to the reference string.<br />

The function returns a pointer to the first matching character. If no character from<br />

s2 is found in s1, the function returns a null pointer.<br />

None.<br />

Callable From<br />

■ Task<br />

■ ISR<br />

3-160 <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!