|
|
1.1 ! root 1: /* ! 2: * Close all windows and free memory ! 3: * ! 4: * Copyright (c) 1991-93 by Udo Munk ! 5: */ ! 6: ! 7: #ifdef AIX ! 8: #define NLS ! 9: #endif ! 10: ! 11: #include <curses.h> ! 12: #include "winfun.h" ! 13: ! 14: extern W_LIST *wl; ! 15: extern int close_window(); ! 16: ! 17: close_all_windows() ! 18: { ! 19: register W_LIST *wlp = wl->w_next; ! 20: ! 21: while (wlp) { ! 22: close_window(wlp->w_w); ! 23: wlp = wl->w_next; ! 24: } ! 25: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.