Namespaces
Variants
Views
Actions

fputs

From cppreference.com
< c‎ | io
Revision as of 22:48, 2 November 2012 by P12bot (Talk | contribs)

 
 
File input/output


Functions
File access
Direct input/output
Unformatted input/output
fputs
(until C11)(since C11)
(C95)(C95)
(C95)
(C95)(C95)
(C95)
(C95)
Formatted input
Formatted output
File positioning
Error handling
Operations on files
 
Defined in header <stdio.h>
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:c/io/dcl list fprintfTemplate:c/io/dcl list putsTemplate:c/io/dcl list fgets