2 WCSSPN: size_t wcsspn (const wchar_t *ws1, const wchar_t *ws2);
5 #define TST_FUNCTION wcsspn
7 #include "tsp_common.c"
8 #include "dat_wcsspn.c"
11 tst_wcsspn (FILE *fp
, int debug_flg
)
13 TST_DECL_VARS (size_t);
18 TST_HEAD_LOCALE (wcsspn
, S_WCSSPN
);
21 TST_GET_ERRET (wcsspn
);
22 ws1
= TST_INPUT (wcsspn
).ws1
;
23 ws2
= TST_INPUT (wcsspn
).ws2
; /* external value: size WCSSIZE */
24 ret
= wcsspn (ws1
, ws2
);
28 fprintf (stderr
, "wcsspn: ret = %zu\n", ret
);
31 TST_IF_RETURN (S_WCSSPN
)