2 WCTYPE: wctype_t wctype (const char *class);
6 #define TST_FUNCTION wctype
8 #include "tsp_common.c"
9 #include "dat_wctype.c"
12 tst_wctype (FILE * fp
, int debug_flg
)
14 TST_DECL_VARS (wctype_t);
19 TST_HEAD_LOCALE (wctype
, S_WCTYPE
);
22 TST_GET_ERRET (wctype
);
23 class = TST_INPUT (wctype
).class;
28 fprintf (stderr
, "tst_wctype : [ %d ] ret = %ld\n", rec
+ 1, ret
);
31 TST_IF_RETURN (S_WCTYPE
)
35 Result (C_SUCCESS
, S_WCTYPE
, CASE_3
, MS_PASSED
);
40 Result (C_FAILURE
, S_WCTYPE
, CASE_3
,
41 "should return non-0, but returned 0");