.TH tgetstr() "" "" "termcap Function (libterm)"
.PC "Get termcap string entry"
.B "#include <curses.h>"
.B "#include <term.h>"
\fBchar *tgetstr(\fIname, area\^\fB)\fR
\fBchar *\fIname\fB, **\fIarea\^\fB;\fR
.PP
.B tgetstr()
is one of a set of functions that read a
.B termcap
terminal description.
It reads the string value of feature
.I name
from the terminal's \fBtermcap\fR description,
and writes it into the buffer at address
.IR area .
It also advances the value of the pointer to
.IR area .
.PP
.B tgetstr()
decodes the abbreviations for the fields used in the
.B termcap
entry, except for padding and for cursor-addressing information.
.SH Files
\fB/etc/termcap\fR \(em Terminal capabilities data base
.br
\fB/usr/lib/libterm.a\fR \(em Function library
.SH "See Also"
.Xr "termcap" termcap

