pack_fclose (3) - Linux Manuals
pack_fclose: Closes a stream previously opened. Allegro game programming library.
Command to display pack_fclose
manual in Linux: $ man 3 pack_fclose
NAME
pack_fclose - Closes a stream previously opened. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int pack_fclose(PACKFILE *f);
DESCRIPTION
Closes the stream `f' previously opened with pack_fopen() or
pack_fopen_vtable(). After you have closed the stream, performing
operations on it will yield errors in your application (e.g. crash it) or
even block your OS.
RETURN VALUE
Returns zero on success. On error, returns an error code which is also
stored in `errno'. This function can fail only when writing to files: if
the file was opened in read mode, it will always succeed.
Pages related to pack_fclose
- pack_fclose_chunk (3) - Closes a previously opened sub-chunk. Allegro game programming library.
- pack_feof (3) - Returns nonzero as soon as you reach the end of the file. Allegro game programming library.
- pack_ferror (3) - Tells if an error occurred during an operation on the stream. Allegro game programming library.
- pack_fgets (3) - Reads a line from the stream. Allegro game programming library.
- pack_fopen (3) - Opens a file according to mode. Allegro game programming library.
- pack_fopen_chunk (3) - Opens a sub-chunk of a file. Allegro game programming library.
- pack_fopen_vtable (3) - Allegro game programming library.
- pack_fputs (3) - Writes a string to the stream. Allegro game programming library.
- pack_fread (3) - Reads n bytes from the stream. Allegro game programming library.
- pack_fseek (3) - Seeks inside a stream. Allegro game programming library.