@node fputs, stdio @findex fputs @subheading Syntax @example #include int fputs(const char *string, FILE *file); @end example @subheading Description This function copies all the characters of @var{string} (except the trailing @code{NULL}) to the given @var{file}. @subheading Return Value A nonnegative number on success, @code{EOF} on error. @subheading Portability @portability ansi, posix @subheading Example @example fputs("Hello\n", stdout); @end example