1LFC_ENDTRANS(3)              LFC Library Functions             LFC_ENDTRANS(3)
2
3
4

NAME

6       lfc_endtrans - end transaction mode
7

SYNOPSIS

9       #include <sys/types.h>
10       #include "lfc_api.h"
11
12       int lfc_endtrans (void)
13

DESCRIPTION

15       lfc_endtrans  ends  transaction  mode.  If all the DB update operations
16       between lfc_starttrans and lfc_endtrans are  successful,  a  COMMIT  is
17       done. The connection to the Name Server is closed.
18

RETURN VALUE

20       This  routine  returns  0  if the operation was successful or -1 if the
21       operation failed. In the latter case, serrno is set appropriately.
22

ERRORS

24       SENOSHOST    Host unknown.
25
26       SENOSSERV    Service unknown.
27
28       SECOMERR     Communication error.
29
30       ENSNACT      Name server is not running or is being shutdown.
31

SEE ALSO

33       lfc_aborttrans(3), lfc_starttrans(3)
34
35
36
37LFC                      $Date: 2004/10/06 14:55:55 $          LFC_ENDTRANS(3)
Impressum