qdb_bkcancel()

Cancel a database backup

Synopsis:

#include <qdb/qdb.h>

int qdb_bkcancel( qdb_hdl_t *hdl,
                  int *nactive );


Arguments:

hdl
A pointer to the database handle.
nactive
A pointer to a location where the function stores the number of backup operations that were aborted. You can use this if you want to know if a backup was interrupted and needs to be rescheduled, or set it to NULL if you don't need this information.

Library:

qdb

Description:

This function cancels all active backup operations for any databases on the QDB server associated with the specified hdl handle.

Returns:

0
Success.
-1
An error occurred (errno is set).

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes