v7 man page for packfile_vtable

Query: packfile_vtable

OS: v7

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PACKFILE_VTABLE(3alleg4)					  Allegro manual					  PACKFILE_VTABLE(3alleg4)

NAME
PACKFILE_VTABLE - Packfile vtable structure, for custom packfiles. Allegro game programming library. SYNOPSIS
#include <allegro.h> typedef struct PACKFILE_VTABLE DESCRIPTION
int pf_fclose(void *userdata); int pf_getc(void *userdata); int pf_ungetc(int c, void *userdata); long pf_fread(void *p, long n, void *userdata); int pf_putc(int c, void *userdata); long pf_fwrite(const void *p, long n, void *userdata); int pf_fseek(void *userdata, int offset); int pf_feof(void *userdata); int pf_ferror(void *userdata); This is the vtable which must be provided for custom packfiles, which then can read from and write to wherever you like (eg. files in mem- ory). You should provide all the entries of the vtable, even if they are empty stubs doing nothing, to avoid Allegro (or you) calling a NULL method at some point. SEE ALSO
pack_fopen_vtable(3alleg4), expackf(3alleg4) Allegro version 4.4.2 PACKFILE_VTABLE(3alleg4)
Related Man Pages
expackf(3alleg4) - debian
pack_fopen_vtable(3alleg4) - netbsd
pack_fopen_vtable(3alleg4) - linux
pack_fopen_vtable(3alleg4) - php
pack_fopen_vtable(3alleg4) - x11r4
Similar Topics in the Unix Linux Community
The efficiency between GREP and SED???
Need to add prefix using sed or awk from cat the file
Need help to compile and create python64 bit (2.7.9) on Solaris10
Read a file and save every word in a variable to use
Cyber Dystopia Teaser (720 HD)