Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- db_VISTA III - d_wrcurr http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   D_WRCURR

SUMMARY
   d_wrcurr(currbuff)
   DB_ADDR  *currbuff;

ARGUMENTS
   currbuff  A pointer to a d_rdcurr-allocated buffer which contains the
             currency table.


DESCRIPTION
   Function d_wrcurr will restore the currency tables (and timestamps, if
   used) from currff and then free allocated memory.

   This functions is intended to be used whit d_rdcurr to save and restore
   the state of a database routine before or after other routines are called
   for which it is unknown how the currency changed.

CURRENCY CHANGES
   All currency.

RETURN CODES

   No special codes.

EXAMPLE

    DB_ADDR *ctab; /*save currency table*/
    int csize;     /*size of saved currency table */
    ..
    /* save currency tables */
    d_rdcurr(&ctab,&csize);
    ..     /* do some other processing */
    /* restore currency tables */
    d_wrcurr(ctab);

See Also: d_rdcurr

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson