Dbmclose()
From Recital Documentation Wiki
PURPOSE
close memo file
SYNOPSIS
#include "dbl.h" int dbmclose(dbt) <input parameter> char *dbt; /* File descriptor of a .DBT file to be closed */ <output parameter> none
RETURN VALUE
The dbmclose() function returns 0 for success. See the section on return code values for a detailed list of return codes.
DESCRIPTION
This function closes a .DBT memo file.
EXAMPLE
The following example closes a .DBT file whose file descriptor is in "char *dbt".
#include "dbl.h" char *dbt; /* File descriptor of a .DBT file */ int rc; /* Return code */ rc = dbmclose(dbt); if (rc == SUCCESS) printf("the memo has been closed.\n"); else { printf("error number %d \n", rc); exit (1); }