pack_fread man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

pack_fread(3)			Allegro manual			 pack_fread(3)

NAME
       pack_fread  -  Reads  n bytes from the stream. Allegro game programming
       library.

SYNOPSIS
       #include <allegro.h>

       long pack_fread(void *p, long n, PACKFILE *f);

DESCRIPTION
       Reads `n' bytes from the stream `f', storing them at the	 memory	 loca‐
       tion pointed to by `p'. Example:

	  unsigned char buf[256];
	  ...
	  if (pack_fread(buf, 256, input_file) != 256)
	     abort_on_error("Truncated input file!");

RETURN VALUE
       Returns the number of bytes read, which will be less than `n' if EOF is
       reached or an error occurs. Error codes are stored in errno.

SEE ALSO
       pack_fopen(3), pack_fopen_chunk(3), pack_feof(3), expackf(3)

Allegro				 version 4.4.2			 pack_fread(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net