Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

TestHugeFile

Test 8-byte file status.

Short Name

TESTHUGE()

Type

Low-Level function

Declaration

COUNT TestHugeFile(FILNO filno)

Description

In V12 the file number typedef was formally changed from COUNT, a two-byte value to FILNO, a four-byte value. Refer to this link for compatibility details. Four Byte File Numbering

TestHugeFile() takes the file number of an opened file, filno, as its input argument to determine if the volume containing the file supports huge files.

Note: This function does NOT determine how much space is available, only if the OS logically supports such file sizes on the volume containing the open file referenced by filno.

Return

TestHugeFile() returns the following values:

Value

Symbolic Constant

Explanation

0

NO_ERROR

Files > 4 GB supported.

26

FACS_ERR

If filno is not in use.

-647

E2GB_COD

Files > 2 GB NOT supported.

-648

E4GB_COD

Files > 4 GB NOT supported.

See c-tree Error Codes for a complete listing of valid c-tree error values.

TOCIndex