dat_tow-funcs.h 458 B

123456789101112131415161718192021222324
  1. /*
  2. * TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
  3. *
  4. * FILE: dat_tow-funcs.h
  5. *
  6. * ISW*: int tow*( wint_t wc );
  7. */
  8. #include <errno.h>
  9. #include <stdlib.h>
  10. #include <wctype.h>
  11. #include "tst_types.h"
  12. #include "tgn_locdef.h"
  13. #define TST_TOW_LOC(FUNC, func) \
  14. TST_TOW## FUNC tst_tow## func ##_loc[]
  15. #define TST_TOW_REC(locale, func) \
  16. { Ttow## func, TST_LOC_## locale },
  17. /*
  18. * NOTE:
  19. * need more test data!
  20. */