1strtows(3C) Standard C Library Functions strtows(3C)
2
3
4
6 strtows, wstostr - code conversion for Process Code and File Code
7
9 #include <widec.h>
10
11 wchar_t *strtows(wchar_t *dst, char *src);
12
13
14 char *wstostr(char *dst, wchar_t *src);
15
16
18 The strtows() and wstostr() functions convert strings back and forth
19 between File Code representation and Process Code.
20
21
22 The strtows() function takes a character string src, converts it to a
23 Process Code string, terminated by a Process Code null, and places the
24 result into dst.
25
26
27 The wstostr() function takes the Process Code string pointed to by src,
28 converts it to a character string, and places the result into dst.
29
31 The strtows() function returns the Process Code string if it completes
32 successfully. Otherwise, a null pointer will be returned and errno will
33 be set to EILSEQ.
34
35
36 The wstostr() function returns the File Code string if it completes
37 successfully. Otherwise, a null pointer will be returned and errno will
38 be set to EILSEQ.
39
41 wstring(3C)
42
43
44
45SunOS 5.11 20 Dec 1996 strtows(3C)