tputs(3cur)
Name
tputs − pad and output string
Syntax
tputs(str, count, putc)
register char *str;
int count;
int (*putc)();
Description
This function adds padding to the string str and outputs it. The string must be either a terminfo string variable or the return value from tparm, tgetstr or tgoto. The variable count is the number of lines affected; this is set to 1 if not applicable. The function putc is a putchar style routine. The characters are passed to putc one at a time.