Dbonerror()

From Recital Documentation Wiki
Jump to: navigation, search

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()