  | 
»  | 
 | 
  
 | 
 | 
The newwin routine is used to create a window. Syntax |    |  
 
   #include <curses.h>
   WINDOW *newwin(int nlines, int ncols, int begin_y, int begin_x);
  |  
 Parameters |    |  
 - nlines
 The number of lines in the new window.
 - ncols
  The number of columns in the new window.
 - begin_y
 The y (row) coordinate of the position of the upper left corner of window. - begin_x
 The x (column) coordinate of the position of the upper left corner of the window.
 
 Return Values |    |  
 On success, pointer to new window structure is returned; otherwise, a null pointer is returned. Implementation Considerations |    |  
 Identical to XPG/3 See Also |    |  
 delwin(), derwin(), dupwin(), mvwin(), subwin(), touchwin() Portability |    |  
 HP-UX, UNIX System V, XPG/3  
 |