Borland C++ reference

puts

raw OCR

Outputs a string to stdout.

Defined in header <stdio.h>

Syntax

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

Portability

DOSUNIXWindowsANSI CC++ only
■■■

Remarks

puts copies the null-terminated string s to the standard output stream stdout and appends a newline character.

Return value

On successful completion, puts returns a nonnegative value. Otherwise, it returns a value of EOF.

See also

Differences from modern implementations

Nothing recorded yet.

Modern references

These are search links, not yet checked by hand.