.\" Generated by the Allegro makedoc utility .TH pack_fclose 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME pack_fclose \- Closes a stream previously opened. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B int pack_fclose(PACKFILE *f); .SH 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. .SH "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. .SH SEE ALSO .BR pack_fopen (3alleg4), .BR pack_fopen_vtable (3alleg4), .BR packfile_password (3alleg4), .BR expackf (3alleg4)