CPUTS(DOS) XENIX System V CPUTS(DOS)
Name
cputs - Puts a string to the console.
Syntax
#include <conio.h>
void cputs (str);
char *str;
Description
The cputs function writes the null-terminated string pointed
to by str directly to the console. Note that a carriage
return/linefeed combination (CR-LF) is not automatically
appended to the string after writing.
Return Value
There is no return value.
See Also
putch(DOS)
Example
#include <conio.h>
char *buffer = "Insert data disk in drive a: \r\n";
/* The following statement outputs a prompt to the **
console. */
cputs (buffer);
Notes
This call must be compiled with the -dos flag.
Page 1 (printed 8/7/87)