1DPNS_ENDTRANS(3)            DPNS Library Functions            DP‐
2NS_ENDTRANS(3)
3
4
5
6[1mNAME[0m
7       dpns_endtrans ‐ end transaction mode
8
9[1mSYNOPSIS[0m
10       [1m#include <sys/types.h>[0m
11       [1m#include "dpns_api.h"[0m
12
13       [1mint dpns_endtrans (void)[0m
14
15[1mDESCRIPTION[0m
16       [1mdpns_endtrans  [22mends  transaction mode.  If all  the
17DB update operations
18       between    [1mdpns_starttrans   [22mand   [1mdpns_endtrans
19[22mare successful, 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       [1mdpns_aborttrans(3)[22m, [1mdpns_starttrans(3)[0m
40
41
42
43DPNS                     $Date: 2004/10/06 14:55:55 $         DP‐
44NS_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