Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
pack_fclose(3)			 Allegro manual 		  pack_fclose(3)

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 opera-
     tions 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.

SEE ALSO
     pack_fopen(3), pack_fopen_vtable(3), packfile_password(3), expackf(3)

Allegro 			  version 4.4.3 		  pack_fclose(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=pack_fclose&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help