9.4.1 Committing the Current Transaction

The tpcommit(3c) function commits the current transaction. When tpcommit() returns successfully, all changes to resources as a result of the current transaction become permanent.

Use the following signature to call the tpcommit() function:

int
tpcommit(long flags)

Although the flags argument is not used currently, you must set it to zero to ensure compatibility with future releases.