| fputs | Function (tigcc.a)

stdio.h

short fputs (const char *s, FILE *stream);

Outputs a string to a stream.

fputs copies the null-terminated string s to the output stream associated to the structure pointed to by stream. It does this by calling putc repeatedly. It does not append a newline character, and the terminating null character is not copied. On successful completion, fputs returns the last character written. Otherwise, it returns a value of EOF.

Uses: fputc