C Programming on the IBM PC (C Programmers Reference Guide Series)

puts

#include <stdio.h>int puts(const char *str);

The puts( ) function writes the string pointed to by str to the standard output device. The null terminator is translated to a newline.

The puts( ) function returns a nonnegative value if successful and an EOF upon failure.

Related functions are putc( ), gets( ), and printf( ).

Категории