Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 499 Bytes

DeleteFile.md

File metadata and controls

31 lines (18 loc) · 499 Bytes

NAME

DeleteFile -- Delete a file or directory

SYNOPSIS

    success = DeleteFile( name )
    D0                    D1

    BOOL DeleteFile(STRPTR)

FUNCTION

This attempts to delete the file or directory specified by 'name'. An error is returned if the deletion fails. Note that all the files within a directory must be deleted before the directory itself can be deleted.

INPUTS

name - pointer to a null-terminated string

RESULTS

success - boolean

SEE ALSO