Writes a character string to the output stream.
#include <stdio.h> int fputs ( const char *buf, FILE *fp);
(IN) Points to the character string to be written.
(IN) Points to the file
If successful, returns a non-negative integer. Otherwise, returns EOF, sets the error indicator for the stream, and sets errno to one of the following:
The fputs function writes the character string pointed to by buf to the file designated by fp. The null-terminating character is not written.