fputws(3c) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

fputws(3c)

fputws(3C)               Standard C Library Functions               fputws(3C)

NAME
       fputws - put wide character string on a stream

SYNOPSIS
       #include <stdio.h>
       #include <wchar.h>

       int fputws(const wchar_t *restrict ws, FILE *restrict stream);

DESCRIPTION
       The  fputws()  function  writes a character string corresponding to the
       (null-terminated) wide character string pointed to by ws to the  stream
       pointed  to  by  stream.  No character corresponding to the terminating
       null wide-character code is written, nor is  a  newline  character  ap‐
       pended.


       The  st_ctime and st_mtime fields of the file will be marked for update
       between the successful execution of fputws() and  the  next  successful
       completion  of a call to fflush(3C) or fclose(3C) on the same stream or
       a call to exit(2) or abort(3C).

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

ERRORS
       Refer to fputwc(3C).

ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:

       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE  VALUE _ Interface StabilityCommitted _ MT-LevelMT-Safe _ Stan‐
       dardSee standards(7).


SEE ALSO
       exit(2), abort(3C), fclose(3C), fflush(3C), fopen(3C), fputwc(3C),  at‐
       tributes(7), standards(7)


       Handling Characters and Character Strings in Internationalizing and Lo‐
       calizing Applications in Oracle Solaris

HISTORY
       The  fputws() function was added to Solaris in the Solaris 2.0 release.
       In Solaris 2.0 through 2.5, it was located in the libw library. In  So‐
       laris 2.6 and later, it is located in libc.

Oracle Solaris 11.4               25 Nov 2024                       fputws(3C)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3