9.4.2 Aborting the Current Transaction

Use the tpabort(3c) function to indicate an abnormal condition and explicitly abort a transaction. This function invalidates the call descriptors of any outstanding transactional replies. None of the changes produced by the transaction are applied to the resource. Use the following signature to call the tpabort() function:

int
tpabort(long flags)

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