DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5

cm_abort_trans(D3)


cm_abort_trans -- terminate a resource manager transaction

Synopsis

   #include <sys/types.h>
   #include <sys/confmgr.h>
   #include <sys/ddi.h>
   

int cm_abort_trans(rm_key_t key);

Description

cm_abort_trans( ) terminates a resource manager transaction after the call to cm_begin_trans(D3) but before the call to cm_end_trans(D3). The resource manager database updates implied by the transaction will not be applied.

Arguments


key
identifies the resource manager record being accessed. The value of this argument must match the value given to the related cm_begin_trans( ) function.

Return values

This function always returns 0.

Usage

Context

Context and synchronization

User or blockable context.

Hardware applicability

All

Version applicability

ddi: 8, 8mp

References

cm_begin_trans(D3), cm_end_trans(D3)

``Autoconfiguration'' in HDK Technical Reference


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005