#include <stdio.h>

int puts( char* string );

This function writes string to stdout. puts() does not copy the null terminator to the output. If puts() is successful, it will return a nonnegative number. If an error occurs, it returns EOF.

See also: fputs().

Back to Essential C Functions.

Log in or register to write something here or to contact authors.