strtows(3I)
NAME
strtows, wstostr − code conversion for Process Code and EUC
SYNOPSIS
#include <widec.h>
wchar_t ∗strtows(wchar_t ∗dst, const char ∗src);
#include <widec.h>
char ∗wstostr(char ∗dst, const wchar_t ∗src);
DESCRIPTION
strtows() and wstostr() convert strings back and forth between Extended Unix Code (EUC) representation and Process Code.
strtows takes an EUC character string src, and converts it to a Process Code string, terminated by a Process Code NULL, and places the result into dst. strtows() returns dst.
wstostr takes the Process Code string pointed to by src, and converts it to the EUC character string, and places the result into dst. wstostr() returns dst.
SEE ALSO
SunOS 5.1/x86 — Last change: 20 Mar 1992