[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
USAGE
   signed int scddflush(
           signed int handle );

PROTOTYPE IN
   sc_base.h

DESCRIPTION
   scddflush will write the contents of the I/O cache to disk. An I/O
   cache will be used only if the data file was opened with SC_BUFFER
   in the command switch.

EXAMPLE
   #include <softc.h>
   #include <sc_base.h>

   void main()
   {
     int dbf;
     long record;

     scdinit(20,0);
     if (scddopenx(&dbf,"TOC.DBF",SC_BUFFER) == SC_SUCCESS) {
       .
       .
       .
       scddrput(dbf,&record,SC_ADD);
       scddflush(dbf);
       .
       .
       .
       scddclose(dbf);
     }
     scdterm();
   }

See Also: scddopenx
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson