1pack_fclose(3)                  Allegro manual                  pack_fclose(3)
2
3
4

NAME

6       pack_fclose  - Closes a stream previously opened. Allegro game program‐
7       ming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       int pack_fclose(PACKFILE *f);
14

DESCRIPTION

16       Closes  the  stream  `f'  previously  opened   with   pack_fopen()   or
17       pack_fopen_vtable(). After you have closed the stream, performing oper‐
18       ations on it will yield errors in your application (e.g. crash  it)  or
19       even block your OS.
20

RETURN VALUE

22       Returns  zero on success. On error, returns an error code which is also
23       stored in `errno'. This function can fail only when writing  to  files:
24       if the file was opened in read mode, it will always succeed.
25
26

SEE ALSO

28       pack_fopen(3), pack_fopen_vtable(3), packfile_password(3), expackf(3)
29
30
31
32Allegro                          version 4.2.3                  pack_fclose(3)
Impressum