db_rlsall
Previous Topic  Next Topic 

Synopsis:

       db_rlsall()


Arguments:

       NONE


Description:  This function releases all record handles that have previously been obtained by the calling task (by calls to db_get() or db_append()) and then closes all database handles that have previously been opened by the task.  


Note that when a record handle in released then all record locks are removed and any changes made to the records will be written to disk.


Note that db_rlsall() will automatically be called when a task is killed either through encountering a stop or restart or endmain or endonsignalstatement or through an explict call to task_kill() or task_chain().


Returns:   Returns 0