Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pack_fclose(3alleg4) [x11r4 man page]

pack_fclose(3alleg4)						  Allegro manual					      pack_fclose(3alleg4)

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. SEE ALSO
pack_fopen(3alleg4), pack_fopen_vtable(3alleg4), packfile_password(3alleg4), expackf(3alleg4) Allegro version 4.4.2 pack_fclose(3alleg4)

Check Out this Related Man Page

expackf(3alleg4)                                                  Allegro manual                                                  expackf(3alleg4)

NAME
expackf - Using custom PACKFILE vtables. Allegro game programming library. SYNOPSIS
#include <allegro.h> Example expackf DESCRIPTION
This program demonstrates the use of the packfile functions, with some simple tests. The first test uses the standard packfile functions to transfer a bitmap file into a block of memory, then reads the bitmap out of the block of memory, using a custom packfile vtable. The second test reads in a bitmap with another custom packfile vtable, which uses libc's file stream functions. The third test demonstrates seeking with a custom vtable. The fourth test reads two bitmaps, and dumps them back into a single file, using a custom vtable again. Tools SEE ALSO
ASSERT(3alleg4), BITMAP(3alleg4), END_OF_MAIN(3alleg4), PACKFILE(3alleg4), PACKFILE_VTABLE(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), alert(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), blit(3alleg4), clear_bitmap(3alleg4), destroy_bit- map(3alleg4), file_size_ex(3alleg4), font(3alleg4), install_keyboard(3alleg4), key(3alleg4), load_bmp_pf(3alleg4), load_pcx(3alleg4), load_pcx_pf(3alleg4), load_tga_pf(3alleg4), pack_fclose(3alleg4), pack_fopen(3alleg4), pack_fopen_vtable(3alleg4), pack_fread(3alleg4), pack_fseek(3alleg4), readkey(3alleg4), save_bmp_pf(3alleg4), save_tga_pf(3alleg4), screen(3alleg4), set_color_depth(3alleg4), set_gfx_mode(3alleg4), text_height(3alleg4), textprintf_centre_ex(3alleg4), textprintf_ex(3alleg4) Allegro version 4.4.2 expackf(3alleg4)
Man Page

We Also Found This Discussion For You

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies