dpns_endtrans man page

DPNS_ENDTRANS(3)            DPNS Library Functions            DPNS_ENDTRANS(3)

      dpns_endtrans - end transaction mode

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

      [1mint dpns_endtrans (void)[0m

      [1mdpns_endtrans  [22mends  transaction mode.  If all the DB update operations
      between [1mdpns_starttrans [22mand [1mdpns_endtrans [22mare successful, a  COMMIT  is
      done. The connection to the Name Server is closed.

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

      [1mSENOSHOST    [22mHost unknown.

      [1mSENOSSERV    [22mService unknown.

      [1mSECOMERR     [22mCommunication error.

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

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

DPNS                     $Date: 2004/10/06 14:55:55 $         DPNS_ENDTRANS(3)