INtime SDK Help
strpbrk, wcspbrk

Searches a string for the first occurrence of any character in the specified character set.

#include <string.h>

char *strpbrk (const char *string1, const char *string2);
wchar_t wcspbrk(const wchar_t *string1, const wchar_t *string2);

Parameters

string1
String to search.
string2
Character set to search for.

Remarks

The terminating null character is not included in the search.

wcspbrk is a wide-character verion of strpbrk.

Return Values

A pointer to the found character.
Success.
A null pointer if string1 and string2 have no characters in common.
Failure.

Generic Text Routines

tchar.h routine _UNICODE not defined _UNICODE defined
_tcspbrk strpbrk wcspbrk

Requirements

Versions Defined in Include Link to
INtime 3.0
INtime 6.0 (for wide-character and generic text versions)
intime/rt/include/string.h
intime/rt/include/wchar.h
intime/rt/include/tchar.h
string.h
wchar.h
tchar.h
clib.lib
   
See Also