home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
msdos
/
c
/
jazlib.arc
/
WSEARCH.C
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1986-05-15
|
327 b
|
18 lines
/* return a pointer to a window number or nil */
#include <jzscreen.h>
extern THEADER g_header;
TWINDOW *wsearch(fnum)
int fnum;
{
THEADER wptr;
wptr = g_header;
while (wptr.first)
if (wptr.first->number == (char) fnum) return(wptr.first);
else wptr.first = wptr.first->next;
return(0);
}