Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - fputs http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   fputs

   Usage
   #include <stdio.h>
   int fputs(const char *s,FILE *fp);

   Description
   fputs writes the string s (excluding the terminating 0) to the  stream
   fp.

   Example
   #include <stdio.h>
   main()
   {
   if(fputs ("Hello World\n", stdout) == EOF)
               fprintf(stderr, "Output error\n");
   }

   Return Value
   Returns non-negative if successful, EOF if a write error occurred.


See Also: fgets gets puts

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson