1LFC_ENDTRANS(3)                   LFC      Library      Functions
2LFC_ENDTRANS(3)
3
4
5
6[1mNAME[0m
7       lfc_endtrans ‐ end transaction mode
8
9[1mSYNOPSIS[0m
10       [1m#include <sys/types.h>[0m
11       [1m#include "lfc_api.h"[0m
12
13       [1mint lfc_endtrans (void)[0m
14
15[1mDESCRIPTION[0m
16       [1mlfc_endtrans  [22mends  transaction  mode.  If all  the
17DB update operations
18       between  [1mlfc_starttrans [22mand [1mlfc_endtrans [22mare
19successful,  a  COMMIT  is
20       done. The connection to the Name Server is closed.
21
22[1mRETURN VALUE[0m
23       This  routine  returns  0  if the operation was successful
24or ‐1 if the
25       operation failed. In the latter case, [1mserrno [22mis set
26appropriately.
27
28[1mERRORS[0m
29       [1mSENOSHOST    [22mHost unknown.
30
31       [1mSENOSSERV    [22mService unknown.
32
33       [1mSECOMERR     [22mCommunication error.
34
35       [1mENSNACT      [22mName server is not running or is being
36shutdown.
37
38[1mSEE ALSO[0m
39       [1mlfc_aborttrans(3)[22m, [1mlfc_starttrans(3)[0m
40
41
42
43LFC                         $Date:    2004/10/06    14:55:55    $
44LFC_ENDTRANS(3)
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Impressum