MemCom Reference Manual > MemCom C API Manual Pages > Database Manager Functions > mcDBinqFileIOType

Name

mcDBinqFileIOType — Inquire database input/output type

Synopsis

#include <memcom.h>

int mcDBinqFileIOType(int handle);

Description

mcDBinqFileIOType returns the file input/output type of the file identified by handle. If the file is open, 1 is returned if the IO type is direct and 2 if it is buffered. If the file identified by handle does not exist 0 is returned.

Parameters

handle

Database handle (input).