1fputws(3C)               Standard C Library Functions               fputws(3C)
2
3
4

NAME

6       fputws - put wide character string on a stream
7

SYNOPSIS

9       #include <stdio.h>
10       #include <wchar.h>
11
12       int fputws(const wchar_t *restrict s, FILE *restrict stream);
13
14

DESCRIPTION

16       The  fputws()  function  writes a character string corresponding to the
17       (null-terminated) wide character string pointed to by ws to the  stream
18       pointed  to  by  stream.  No character corresponding to the terminating
19       null wide-character  code  is  written,  nor  is  a  NEWLINE  character
20       appended.
21
22
23       The  st_ctime and st_mtime fields of the file will be marked for update
24       between the successful execution of fputws() and  the  next  successful
25       completion  of a call to fflush(3C) or fclose(3C) on the same stream or
26       a call to exit(2) or abort(3C).
27

RETURN VALUES

29       Upon successful completion, fputws() returns a non-negative value. Oth‐
30       erwise, it returns −1, sets an error indicator for the stream, and sets
31       errno to indicate the error.
32

ERRORS

34       Refer to fputwc(3C).
35

ATTRIBUTES

37       See attributes(5) for descriptions of the following attributes:
38
39
40
41
42       ┌─────────────────────────────┬─────────────────────────────┐
43       │ATTRIBUTE TYPE               │ATTRIBUTE VALUE              │
44       ├─────────────────────────────┼─────────────────────────────┤
45       │Interface Stability          │Standard                     │
46       ├─────────────────────────────┼─────────────────────────────┤
47       │MT-Level                     │MT-Safe                      │
48       └─────────────────────────────┴─────────────────────────────┘
49

SEE ALSO

51       exit(2),  abort(3C),  fclose(3C),  fflush(3C),  fopen(3C),  fputwc(3C),
52       attributes(5), standards(5)
53
54
55
56SunOS 5.11                        1 Nov 2003                        fputws(3C)
Impressum