fputs

Full prototype:

int fputs(const char* restrict, FILE* restrict);  

Purpose and Notes:

Writes the string passed in as the first argument to the stream associated with the FILE* passed in as the second argument at the current position of the stream.

Returns:

int-Returns a non-negative value on success and EOF on any errors writing to the stream associated to the FILE* passed in as the second argument.

Argument 1:

const char*-The string you want to send/write to the stream associated to the second arguments FILE*.

Argument 2:

FILE* restrict-The stream or file you want to write the string passed in as the first argument to.

Example 1
  1    FILLER SOURCE CODE
FILLER TERMINAL