Cancel a database backup
Synopsis:
#include <qdb/qdb.h>
int qdb_bkcancel( qdb_hdl_t *db, int *nactive );
Arguments:
- db
- A pointer to the database handle.
- nactive
- A pointer to a location for storing the number of aborted backup operations.
You can use this to see if a backup was interrupted and needs to be
rescheduled. If don't need this information, set this parameter to
NULL.
Library:
qdb
Description:
This function cancels all active backup operations for databases
associated with the specified handle.
Returns:
- 0
- Success.
- -1
- An error occurred (errno is set).
Classification:
QNX Neutrino
| Safety: |
|
| Interrupt handler |
No |
| Signal handler |
No |
| Thread |
Yes |