winchnstr

Name

winchnstr -- obtain a string of characters and their attributes from a curses window

Synopsis

#include <curses.h>

int winchnstr(WINDOW * win, chtype * chstr, int n);

Description

The interface winchnstr() shall behave as specified in X/Open Curses, except that winchnstr() shall return the number of characters that were read.