/* excspn.c - Sample code for unicspn.
Return initial length of first string not containing any
characters of the second string.
*/
#include <nunicode.h>
#include <assert.h>
void main(void)
{
nint result;
result = unicspn(L"testfile.dat", L".");
assert (result == 8);
result = unicspn(L"server\\vol:file.ext", L".:\\");
assert (result == 6);
}