win
A pointer to the parent window.
numlines
The number of lines in the subwindow. If numlines is 0, then
the function sets that dimension to LINES - begin_y. To get a
subwindow of dimensions LINES by COLS, use the following format:
subwin (win, 0, 0, 0, 0)
numcols
The number of columns in the subwindow. If numcols is 0, then
the function sets that dimension to COLS - begin_x. To get a
subwindow of dimensions LINES by COLS, use the following format:
subwin (win, 0, 0, 0, 0)
begin_y
A window coordinate at which the subwindow is to be created.
begin_x
A window coordinate at which the subwindow is to be created.