DSC Tech Library
FASTPLUS C Library
fpfile_delete()
Function fpfile_delete deletes a FASTPLUS file from within an application program. The
FAST file is deleted from disk removing all data and indexes.
The syntax for fpfile_delete is as follows:
fpfile_delete(char *name)
char *name - File pathname.
null terminated pointer.
The possible values for fperrno and an explanation of each value follow.
Value Explanation
--------------------------------------------------
FEROK - Code 0: Successful FASTPLUS Operation
FERFYP - Code 1: Not a FAST file
FERACC - Code 2: Illegal access rights
FERCTL - Code 3: FAST file Node Does not exist
FERMAX - Code 14: Too many FAST files open
FERMXU - Code 21: Illegal user number
FERREM - Code 30: Remote access denied
FERNSV - Code 43: No servers started
|