Function fputs

Top 

Declaration:

int fputs(char s[], unsigned long stream);

Description

Outputs a string on a stream.

fputs copies the s null-terminated string to the given output stream; it does not append the newline character and the terminating null character is not copied.

Returned Value

On success fputs returns a non-negative value. On error it returns the value of EOF.