tf_delete(), sf_delete()

Purpose

Deletes a file

Old names

#define _vdelete tf_delete

#define _adelete sf_delete

Syntax (CCOWN)

int tf_delete(file_name)
int sf_delete(file_name)

Syntax (DP4DBAPI)

BOOLEAN dp4_sf_delete(CONN * conn,dp4_name_string filename);

Parameters

char* file_name

Name of file to delete, which is null terminated

Description

The tf_delete() and sf_delete() functions delete the named file. Attempting to delete a missing file is not treated as an error.

Return values

Returns TRUE if the file was successfully deleted