1DPNS_ABORTTRANS(3)          DPNS Library Functions          DPNS_ABORTTRANS(3)
2
3
4

NAME

6       dpns_aborttrans - abort a transaction
7

SYNOPSIS

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

DESCRIPTION

15       dpns_aborttrans  aborts  a transaction.  A ROLLBACK is executed for all
16       updates done since dpns_starttrans.  The connection to the Name  Server
17       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       dpns_endtrans(3), dpns_starttrans(3)
34
35
36
37DPNS                     $Date: 2004/10/06 15:27:57 $       DPNS_ABORTTRANS(3)
Impressum