pdb_loadheader(3)

NAME

pdb_LoadHeader - read the header of a Palm database file

LIBRARY

libpdb

SYNOPSIS

#include <pdb.h>
int
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
struct pdb pointed to by db, which must already have been allo
cated.
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

pdb_LoadHeader returns 0 if successful, or a negative value
otherwise.

SEE ALSO

libpdb(3), pdb_Read(3).

AUTHORS

Andrew Arensburger <arensb@ooblick.com>
BSD Aug 16, 2001
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout