---
name: "al_open_fs_entry"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_open_fs_entry/3alleg5"
---

# al\_open\_fs\_entry(3alleg5)

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(3alleg5) handle to a filesystem entry, for the given access mode. This is like calling al\_fopen(3alleg5) 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(3alleg5).

Returns the handle on success, NULL on error.

## SEE ALSO

al\_fopen(3alleg5)
