Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FAST TEXT SEARCH for Clipper v.2.0 - <b>cftsclose( <cftshandle> )</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   CftsClose( <CFTShandle> )

       Purpose

   Closes a previously opened index file. Allocated buffer
   space is reclaimed.

       Parameters

   <CFTShandle> handle is an integer referring to a CFTS index.

       Return Value

   Returns 1 if successful or a negative integer indicating an error.

       Errors Returned

    -4   (BADSEEK): Error while attempting seek during buffer flushing.
    -6   (BADWRITE): Error while attempting write during buffer flush.
   -16   (BADPARMS): Invalid parameters were passed to the function. 

       Comments

   All open CFTS index files must be closed by CftsClose() prior to 
   program termination. CftsClose() is responsible for buffer flushing    
   and other chores necessary to properly update a CFTS index.

       Example

   .
   .
   .
   result = CftsClose( xhandle )
   if result ! = 1
        ? 'error closing CFTS index'
   endif
   .
   .
   .

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