Add iscanonical.
[glibc.git] / localedata / tests-mbwc / tst_wcslen.c
blobd0ffa5a443c8cf5724a566d0c1fc432b7a6acb66
1 /*
2 WCSLEN: size_t wcslen (const wchar_t *ws);
3 */
5 #define TST_FUNCTION wcslen
7 #include "tsp_common.c"
8 #include "dat_wcslen.c"
10 int
11 tst_wcslen (FILE * fp, int debug_flg)
13 TST_DECL_VARS (size_t);
14 wchar_t *ws;
16 TST_DO_TEST (wcslen)
18 TST_HEAD_LOCALE (wcslen, S_WCSLEN);
19 TST_DO_REC (wcslen)
21 TST_GET_ERRET (wcslen);
22 ws = TST_INPUT (wcslen).ws;
23 ret = wcslen (ws);
24 TST_IF_RETURN (S_WCSLEN)
30 return err_count;