Namespaces
Variants
Views
Actions

std::fputs

From cppreference.com
< cpp‎ | io‎ | c
Revision as of 02:12, 2 January 2016 by Rufflewind (Talk | contribs)

 
 
 
C-style I/O
Types and objects
Functions
File access
Direct input/output
Unformatted input/output
Formatted input
(C++11)(C++11)(C++11)    
(C++11)(C++11)(C++11)    
 
Defined in header <cstdio>
int fputs( const char* str, std::FILE* stream );

Writes given null-terminated character string to the given output stream. The null character itself is not written.

Parameters

str - null-terminated character string to be written
stream - output stream

Return value

Non-negative integer on success, EOF on failure

See also

prints formatted output to stdout, a file stream or a buffer
(function) [edit]
writes a character string to stdout
(function) [edit]
gets a character string from a file stream
(function) [edit]
C documentation for fputs