Category : C Source Code
Archive   : JAZ_CLIB.ZIP
Filename : JZCLSWND.C

 
Output of file : JZCLSWND.C contained in archive : JAZ_CLIB.ZIP
/*
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³jzclswnd.c ³
³Restore the previous window contents, thereby closing the window, and ³
³free up the memory, that the window was taking up. ³
³Returns Null if the specified window number was not found ³
³ ³
³ (C) JazSoft Software by Jack A. Zucker (301) 794-5950 ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
*/

#include
#include
jzclswnd(fnum)
int fnum;
{
TWINDOW *wptr;

if ( !(wptr = wsearch(fnum))) return(0);

jzrstwnd(wptr); /* restore previous window contents */

free ((int *) wptr->buf); /* free up buffer memory */

jzloccur(wptr->row,wptr->col);
return(1); /* indicate success */
}



  3 Responses to “Category : C Source Code
Archive   : JAZ_CLIB.ZIP
Filename : JZCLSWND.C

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/