dpns_aborttrans man page

DPNS_ABORTTRANS(3) DPNS Library Functions DPNS_ABORTTRANS(3)

[1mNAME[0m
dpns_aborttrans - abort a transaction

[1mSYNOPSIS[0m
[1m#include <sys/types.h>[0m
[1m#include "dpns_api.h"[0m

[1mint dpns_aborttrans (void)[0m

[1mDESCRIPTION[0m
[1mdpns_aborttrans [22maborts a transaction. A ROLLBACK is executed for all
updates done since [1mdpns_starttrans[22m. The connection to the Name Server
is closed.

[1mRETURN VALUE[0m
This routine returns 0 if the operation was successful or -1 if the
operation failed. In the latter case, [1mserrno [22mis set appropriately.

[1mERRORS[0m
[1mSENOSHOST [22mHost unknown.

[1mSENOSSERV [22mService unknown.

[1mSECOMERR [22mCommunication error.

[1mENSNACT [22mName server is not running or is being shutdown.

[1mSEE ALSO[0m
[1mdpns_endtrans(3)[22m, [1mdpns_starttrans(3)[0m

DPNS $Date: 2004/10/06 15:27:57 $ DPNS_ABORTTRANS(3)

Info