home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boston 2
/
boston-2.iso
/
DOS
/
PROGRAM
/
C
/
JAZLIB
/
JZINTSTK.C
< prev
next >
Wrap
Text File
|
1993-12-01
|
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 */
}