Outputs a string with padding information.
Curses Library (libcurses.a)
#include <curses.h>
  #include <term.h>  
  tputs( String,  LinesAffected,  PutcLikeSub)
char *String;
int LinesAffected;
int (*PutcLikeSub) ();
The tputs subroutine outputs a string with padding information applied. String must be a terminfo string variable or the return value from tparm, tgetstr, tigetstr, or tgoto subroutines.
| Item | Description | 
|---|---|
| LinesAffected | Specifies the number of lines affected, or specifies 1 if not applicable. | 
| PutcLikeSub | Specifies a putchar-like subroutine through which the characters are passed one at a time. | 
| String | Specifies the string to which to add padding information. | 
int_my_putchar();
tputs(clear_screen, 1 ,my_putchar); 
int_my_putchar();
tputs(tparm(cursor_address, 18, 40), 1, my_putchar);