cp_db_connection_rollback(3) - Linux man page

Name

cp_db_connection_commit, cp_db_connection_rollback - perform a COMMIT / ROLLBACK on a database connection

Synopsis

#include <cprops/db.h>

int cp_db_connection_commit(cp_db_connection *conn);
int cp_db_connection_rollback(cp_db_connection *conn);

Description

cp_db_connection_commit performs a commit on a database connection.

cp_db_connection_rollback performs a rollback on a database connection.

Return Value

cp_db_connection_commit and cp_db_connection_rollback return zero on success or non-zero on error.