My understanding is that you cannot mix wide character I/O functions like
fputws with regular I/O functions like fputs. I get an ESPIPE trying to do
that. But can the following four functions be used with non-wide I/O
functions?:

int swprintf(wchar_t *s, size_t maxlen, const wchar_t *format, ...);
int vswprintf(wchar_t *s, size_t maxlen, const wchar_t *format, va_list arg);
int swscanf(const wchar_t *s, const wchar_t *format, ...);
int vswscanf(const wchar_t *s, const wchar_t *format, va_list arg);

They don't actually do any I/O but then again they are classified with
functions that do.

Thanks,
Mike
--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to