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