Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

File Manipulation Functions

CloseCtFile

Use this to close a data or index file when you are finished with it. It is important to close any file if it has been updated. If you do not close an updated file when your application terminates, the file will be damaged.

CreateDataFile and CreateDataFileXtd

Creates a data file. Sets characteristics of the data file, such as record length and file mode.

CreateIndexFile and CreateIndexFileXtd

Creates an index file. The characteristics of the index file are set at this time, such as the key length.

CreateIndexMember

Establishes additional indexes within an existing index file. Any physical index file can contain multiple logical indexes. While there is only one file on the disk, it can look to your program as if it is several separate indexes.

DeleteCtFile

Deletes a specified file. Use instead of a C language function, such as unlink(). When using the FairCom Server the application may not have direct access to the file.

GetCtTempFileName

Creates a file name that is guaranteed to by unique.

GetCtFileInfo

This function returns information from the data file or index header record.

GetSymbolicNames

Returns symbolic information from the file, such as the file name.

OpenCtFile and OpenCtFileXtd

Use to open a data or index file created with CreateDataFile() or CreateIndexFile().

UpdateFileMode

This function changes critical file mode attributes.

Security

Use this function to change a password, Group ID, or permission mask of a file.

AvailableFileNbr

Returns the next available FairCom DB file number.

TOCIndex