newwin(3cur)newwin(3cur)Namenewwin - create new window
Syntax
#include <cursesX.h>
WINDOW ∗newwin(nlines, ncols, begin_y, begin_x)
int nlines, ncols, begin_y, begin_x;
Description
The function creates a new window with the number of lines, and col‐
umns, The upper left corner of the window is at line column
If either or is zero, they will be defaulted to LINES - and COLS - A
new full-screen window is created by calling
Return Values
On success the function returns a pointer to the new WINDOW structure
created. On failure the function returns a null pointer.
newwin(3cur)