delete_file man page

delete_file — Removes a file from the disk. Allegro game programming library.

Synopsis

#include <allegro.h>

int delete_file(const char *filename);

Description

Removes a file from the disk. You can't delete directories, though.

Return Value

Returns zero on success, non-zero on failure.

Info

version 4.4.2 Allegro Allegro manual