FS$Delete_File

FS ››
Parent Previous Next

FS$Delete_File

Delete a file in an FS file


FS$Delete_File deletes a file from an open FS file.


Format:

FS$Delete_File context name


Returns:

Returns a condition code.


Arguments:

context

A pointer to the context value returned by FS_Open that indicates the FS file to affect.


name

The address of a SRB structure that points to the full file specification of the file to delete from the file system. The name must be a complete valid path and cannot be null.


Description

Deletes a file from a FS file opened with FS_Open.


Condition Codes Returned:

Code

Meaning

FS_INVCONT

Specified context is not valid.

FS_INVNAME

Specified name is not valid.

SS_NORMAL

Successful completion.