| t_wcstod.c | 75 const wchar_t *wcs; member in struct:test 403 for (t = &tests[0]; t->wcs != NULL; ++t) { 404 printf("wcslen(\"%S\") = %zu\n", t->wcs, wcslen(t->wcs)); 405 n = wcstombs(NULL, t->wcs, 0); 406 printf("wcstombs(NULL, \"%S\", 0) = %d\n", t->wcs, (int)n); 408 (void)wcstombs(buf, t->wcs, n + 1); 409 printf("wcstombs(buf, \"%S\", %d) = \"%s\"\n", t->wcs, 411 ATF_REQUIRE_EQ(strlen(buf), wcslen(t->wcs)); 431 for (t = &tests[0]; t->wcs != NULL; ++t) [all...] |