man pdb_LoadHeader (Fonctions bibliothèques) - pdb_LoadHeader

NAME

pdb_LoadHeader - read the header of a Palm database file

LIBRARY

libpdb

SYNOPSIS

#include <pdb.h>pdb_LoadHeader int fd struct pdb *db

DESCRIPTION

pdb_LoadHeader

reads the header of a Palm PDB or PRC file from the file descriptor fd , which must already have been opened for reading. fd must be seekable. pdb_LoadHeader fills in the pointed to by db , which must already have been allocated.

It is not possible to append the rest of the file's data to db . If you want to read the rest of the file, you need to read it from scratch with pdb_Read .

pdb_LoadHeader is deprecated. The only recommended use for it is to get an overview of a set of PDB or PRC files.

RETURN VALUE

returns 0 if successful, or a negative value otherwise.

SEE ALSO

AUTHORS

Andrew Arensburger Aq arensb@ooblick.com