---
name: "al_remove_fs_entry"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_remove_fs_entry"
---

# al\_remove\_fs\_entry(3)

Allegro 5 API

## NAME

al\_remove\_fs\_entry - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  bool al_remove_fs_entry(ALLEGRO_FS_ENTRY *e)
  ```

## DESCRIPTION

Delete this filesystem entry from the filesystem. Only files and empty directories may be deleted.

Returns true on success, and false on failure, error is indicated in Allegro’s errno.

## SEE ALSO

[al\_filename\_exists(3)](/al_filename_exists/3.md)
