Annotation of 41BSD/lib/libcurses/delwin.c, revision 1.1.1.1

1.1       root        1: # include      "curses.ext"
                      2: 
                      3: /*
                      4:  *     This routine deletes a window and releases it back to the system.
                      5:  */
                      6: delwin(win)
                      7: reg WINDOW     *win; {
                      8: 
                      9:        reg int i;
                     10: 
                     11:        if (!(win->_flags & _SUBWIN))
                     12:                for (i = 0; i < win->_maxy && win->_y[i]; i++)
                     13:                        cfree(win->_y[i]);
                     14:        cfree(win->_y);
                     15:        cfree(win);
                     16: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.