ttppuuttss() -- termcap/terminfo Function (libterm/libcurses)

Read/decode leading padding information
ttppuuttss(_c_p, _a_f_f_c_n_t, _o_u_t_c)
cchhaarr *_c_p; iinntt _a_f_f_c_n_t; iinntt (*_o_u_t_c)();

ttppuuttss()  is one  of a  set  of functions  that read  a tteerrmmccaapp  or tteerrmmiinnffoo
terminal description.

ttppuuttss() decodes  the leading padding  information of the  string _n_a_m_e. When
you use ttppuuttss() to interpret the tteerrmmiinnffoo data base, _n_a_m_e should point to a
string that  names one of  tteerrmmiinnffoo's variables, as defined  in the Lexicon
entry for  tteerrmmiinnffoo; e.g., aauuttoo_rriigghhtt_mmaarrggiinn or  aauuttoo_lleefftt_mmaarrggiinn. When you
use  ttppuuttss() to  interpret  the tteerrmmccaapp  data  base, _n_a_m_e  should point  to
tteerrmmccaapp's variable code, e.g., aamm.

_a_f_f_c_n_t gives the number of lines  affected by the operation.  Set it to one
if it is not applicable.

_o_u_t_c points to the routine that writes each character.

_F_i_l_e_s
/eettcc/tteerrmmccaapp -- Terminal capabilities data base
/eettcc/tteerrmmiinnffoo -- Terminal capabilities data base
/uussrr/lliibb/lliibbccuurrsseess.aa -- Routines for reading tteerrmmiinnffoo descriptions
/uussrr/lliibb/lliibbtteerrmm.aa -- Routines for reading tteerrmmccaapp descriptions

_S_e_e _A_l_s_o
lliibbccuurrsseess, lliibbtteerrmm, tteerrmmccaapp, tteerrmmiinnffoo

_N_o_t_e_s
As  noted  above,  ttppuuttss()  can   read  either  a  tteerrmmccaapp  or  a  tteerrmmiinnffoo
description.    The   tteerrmmccaapp  version   of   ttppuuttss()   lives  in   library
/uussrr/lliibb/lliibbtteerrmm.aa. To  obtain the tteerrmmccaapp version of  ttppuuttss(), link in the
library /uussrr/lliibb/lliibbtteerrmm.aa.  To obtain the tteerrmmiinnffoo  version, however, link
in the library /uussrr/lliibb/lliibbccuurrsseess.aa.
