lfc_endtrans man page

LFC_ENDTRANS(3)              LFC Library Functions             LFC_ENDTRANS(3)

      lfc_endtrans - end transaction mode

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

      [1mint lfc_endtrans (void)[0m

      [1mlfc_endtrans  [22mends  transaction  mode.  If all the DB update operations
      between [1mlfc_starttrans [22mand [1mlfc_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
      [1mlfc_aborttrans(3)[22m, [1mlfc_starttrans(3)[0m

LFC                      $Date: 2004/10/06 14:55:55 $          LFC_ENDTRANS(3)