Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/io/c/fputs"

From cppreference.com
< cpp‎ | io‎ | c
m (Text replace - "{{see also}}" to "===See also===")
m (Text replace - "<!-- ======== --> " to "")
Line 7: Line 7:
 
Writes given null-terminated character string to the given output stream.  
 
Writes given null-terminated character string to the given output stream.  
  
<!-- ======== -->
 
 
===Parameters===
 
===Parameters===
 
{{param list begin}}
 
{{param list begin}}
Line 14: Line 13:
 
{{param list end}}
 
{{param list end}}
  
<!-- ======== -->
 
 
===Return value===
 
===Return value===
  
 
non-negative integer on success, {{cpp|EOF}} on failure
 
non-negative integer on success, {{cpp|EOF}} on failure
  
<!-- ======== -->
 
 
===See also===
 
===See also===
 
{{dcl list begin}}
 
{{dcl list begin}}

Revision as of 18:13, 2 August 2011

Template:cpp/io/c/sidebar

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, Template:cpp on failure

See also

Template:cpp/io/c/dcl list fprintfTemplate:cpp/io/c/dcl list putsTemplate:cpp/io/c/dcl list fgets