SilverScreen Solid Modeler

fputs

fputs

Previous topic Next topic  

fputs

Previous topic Next topic JavaScript is required for the print function  

StandardCLibrary

 

int fputs( char *s, FILE *fp )

 

char *s;          /* string to write */

FILE *fp;         /* output stream pointer */

 

 




Synopsis

#include "stdio.h"

 

The fputs function writes string s to the file associated with fp .

 

 

Parameters

s is a null-terminated string. fp is a stream pointer, opened for output.

 

 

Return Value

fputs returns a non-negative number if successful, and EOF (-1) if not.

 

 

See Also

fputc , fgets