1 /*-------------------------------------------------------------------------------------*/
2 /* WCTOB: int wctob( wint_t wc ) */
3 /*-------------------------------------------------------------------------------------*/
5 #define TST_FUNCTION wctob
7 #include "tsp_common.c"
11 tst_wctob (FILE * fp, int debug_flg)
18 TST_HEAD_LOCALE (wctob, S_WCTOB);
21 TST_GET_ERRET (wctob);
22 wc = TST_INPUT (wctob).wc;
27 fprintf (stderr, "tst_wctob : [ %d ] ret = %d\n", rec + 1, ret);
30 TST_IF_RETURN (S_WCTOB)