---
name: "al_open_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_open_fs_entry"
---

# al\_open\_fs\_entry(3)

Allegro 5 API

## NAME

al\_open\_fs\_entry - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  ALLEGRO_FILE *al_open_fs_entry(ALLEGRO_FS_ENTRY *e, const char *mode)
  ```

## DESCRIPTION

Open an [ALLEGRO\_FILE(3)](/ALLEGRO_FILE/3.md) handle to a filesystem entry, for the given access mode. This is like calling [al\_fopen(3)](/al_fopen/3.md) with the name of the filesystem entry, but uses the appropriate file interface, not whatever was set with the latest call to [al\_set\_new\_file\_interface(3)](/al_set_new_file_interface/3.md).

Returns the handle on success, NULL on error.

## SEE ALSO

[al\_fopen(3)](/al_fopen/3.md)
