5 size_t wcsftime(wchar_t *restrict wcs, size_t n, const wchar_t *restrict f, const struct tm *restrict tm)
18 if (strchr("EO", (in[1]=*f++)))
20 k = strftime(out, sizeof out, in, tm);
22 k = mbsrtowcs(wcs, (const char *[]){out}, n, 0);
23 if (k==(size_t)-1) return 0;