1putws(3C) Standard C Library Functions putws(3C)
2
3
4
6 putws - convert a string of Process Code characters to EUC characters
7
9 #include <stdio.h>
10 #include <widec.h>
11
12 int putws(wchar_t *s);
13
14
16 The putws() function converts the Process Code string (terminated by a
17 (wchar_t)NULL) pointed to by s, to an Extended Unix Code (EUC) string
18 followed by a NEWLINE character, and writes it to the standard output
19 stream stdout. It does not write the terminal null character.
20
22 The putws() function returns the number of Process Code characters
23 transformed and written. It returns EOF if it attempts to write to a
24 file that has not been opened for writing.
25
27 See attributes(5) for descriptions of the following attributes:
28
29
30
31
32 ┌───────────────────────────────────────────────────────────┐
33 │ATTRIBUTE TYPE ATTRIBUTE VALUE │
34 │MT-Level MT-Safe │
35 └───────────────────────────────────────────────────────────┘
36
38 ferror(3C), fopen(3C), fread(3C), getws(3C), printf(3C), putwc(3C),
39 attributes(5)
40
41
42
43SunOS 5.11 22 Apr 1997 putws(3C)