home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
msdos
/
c
/
jazlib.arc
/
JZINTSTK.C
< prev
next >
Wrap
Text File
|
1986-07-18
|
716b
|
22 lines
#include <jaz.h>
/*
┌────────────────────────────────────────────────────────────────────────────┐
│jzintstk │
│Initialize the directory stack structure before the first call to jzpushdir │
│Synopsis: │
│ jzintstk(&whead); │
│ jzpshdir(&whead); │
│ chdir("\\"); │
│ ... │
│ jzpshdir(&whead); │
│ jzpopdir(&whead); │
└────────────────────────────────────────────────────────────────────────────┘
*/
jzintstk(fhead)
TSTKHEAD *fhead;
{
fhead->numitems = 0; /* init stack to zero items */
fhead->first = fhead->last = 0; /* init pointers */
}