Difference between revisions of "Dbonerror()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
Line 4: Line 4:
  
 
==SYNOPSIS==
 
==SYNOPSIS==
+
 
 +
<code lang="c">
 
#include "dbl.h"
 
#include "dbl.h"
  

Latest revision as of 10:14, 2 April 2009

PURPOSE

enable/disable recovery from I/O errors


SYNOPSIS

#include "dbl.h"
 
	int	dbonerror(mode)
 
	<input parameters>
	int	mode;		/* 0 disables and 1 enables */
 
	<output parameters>
	none


RETURN VALUE

The dbonerror() function has no return values.


DESCRIPTION

This function enables recovery from I/O errors in all of the RECITAL/Library functions. By disabling error checking, the Library function calls operate faster.


EXAMPLE

The following example disables recovery from I/O errors.

#include "dbl.h"
 
	dbonerror(0);


SEE ALSO

dbopen()