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

NAME

6       lfc_aborttrans - abort a transaction
7

SYNOPSIS

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

DESCRIPTION

15       lfc_aborttrans  aborts  a  transaction.  A ROLLBACK is executed for all
16       updates done since lfc_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       lfc_endtrans(3), lfc_starttrans(3)
34
35
36
37LFC                      $Date: 2004/10/06 15:27:57 $        LFC_ABORTTRANS(3)
Impressum