COHERENT manpages

This page displays the COHERENT manpage for fputs() [Write string into file stream].

List of available manpages
Index


fputs() -- STDIO Function (libc)

Write string into file stream
#include <stdio.h>
int fputs(string, fp)
char *string; FILE *fp;

fputs() writes  string into the  file stream pointed  to by fp.  Unlike its
cousin puts(), it does not append a newline character to the end of string.

fputs() returns  a nonnegative value  on success and  EOF if a  write error
occurs.

Example

For an example of this function, see the entry for freopen().

See Also

libc,
puts()
ANSI Standard, §7.9.7.4
POSIX Standard, §8.1