Signup
Search Linux manpages For:  

fputws(3) -- Linux man page

 

NAME

fputws - write a wide character string to a FILE stream  

SYNOPSIS

#include <wchar.h>

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

DESCRIPTION

The fputws function is the wide-character equivalent of the fputs function. It writes the wide character string starting at ws, up to but not including the terminating L'\0' character, to stream.

For a non-locking counterpart, see unlocked_stdio(3).  

RETURN VALUE

The fputws function returns a nonnegative integer if the operation was successful, or -1 to indicate an error.  

CONFORMING TO

ISO/ANSI C, UNIX98  

NOTES

The behaviour of fputws depends on the LC_CTYPE category of the current locale.

In the absence of additional information passed to the fopen call, it is reasonable to expect that fputws will actually write the multibyte string corresponding to the wide character string ws.  

SEE ALSO

fputwc(3) unlocked_stdio(3)


 
LINUX MAN PAGES
Man1 -- User Commands (Intro)
Man2 -- System Calls (Intro)
Man3 -- Library Functions (Intro)
Man4 -- Special Files (Intro)
Man5 -- File Formats (Intro)
Man6 -- Games (Intro)
Man7 -- Miscellaneous (Intro)
Man8 -- Administration (Intro)
Mann -- TCL Functions (not available)


WEB HOSTING SHOWCASE




 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2012 Broadband Media, Inc. All rights reserved.