Namespaces
Variants
Views
Actions

std::fputs

From cppreference.com
< cpp‎ | io‎ | c
Revision as of 18:14, 2 November 2012 by P12bot (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, FILE *stream );

Writes given null-terminated character string to the given output stream.

Parameters

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

Return value

Non-negative integer on success, EOF on failure

See also

Template:cpp/io/c/dcl list fprintfTemplate:cpp/io/c/dcl list putsTemplate:cpp/io/c/dcl list fgets
C documentation for fputs