1DPNS_ABORTTRANS(3) DPNS Library Functions DP‐
2NS_ABORTTRANS(3)
3
4
5
6[1mNAME[0m
7 dpns_aborttrans ‐ abort a transaction
8
9[1mSYNOPSIS[0m
10 [1m#include <sys/types.h>[0m
11 [1m#include "dpns_api.h"[0m
12
13 [1mint dpns_aborttrans (void)[0m
14
15[1mDESCRIPTION[0m
16 [1mdpns_aborttrans [22maborts a transaction. A ROLLBACK
17is executed for all
18 updates done since [1mdpns_starttrans[22m. The connection
19to the Name Server
20 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_endtrans(3)[22m, [1mdpns_starttrans(3)[0m
40
41
42
43DPNS $Date: 2004/10/06 15:27:57 $ DP‐
44NS_ABORTTRANS(3)
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66