tgetline
static char *tgetline(int, char *, size_t, int);
tgetline(fileno(stdin), pbuf, sizeof(pbuf), 120);