2.12.5.4 fputs

Declaration:

int fputs(const char *str, FILE *stream);

Writes a string to the specified stream up to but not including the null character.

On success a nonnegative value is returned. On error EOF is returned.