/* expbrk.c - Sample code for unipbrk.
Returns a pointer to the first occurrence in s1
of any character in s2.
*/
#include <nunicode.h>
#include <assert.h>
void main(void)
{
punicode ret;
/* Search for the first dot, colon, or backslash character. */
ret = unipbrk(L"server\\vol:file.ext", L".:\\");
/* ret points to the backslash character. */
assert (*ret == ’\\’);
}