man pdb_Read (Fonctions bibliothèques) - pdb_Read

NAME

pdb_Readpdb_Write - read, write Palm database files

LIBRARY

libpdb

SYNOPSIS

#include <pdb.h>pdb_Read int fdpdb_Write const struct pdb *db int fd

DESCRIPTION

pdb_Read

reads a Palm PDB or PRC file from the file descriptor fd , which must already have been opened for reading. fd must be seekable.

pdb_Read allocates a new and returns a pointer to it. This should later be freed using free_pdb .

pdb_Write writes the PDB pointed to by db to the file descriptor fd , which must already be opened for writing. fd need not be seekable.

RETURN VALUE

pdb_Read

returns a pointer to a newly-allocated if successful, or NULL in case of error.

pdb_Write returns 0 if successful, or a negative value in case of error.

SEE ALSO

CETTE PAGE DOCUMENTE AUSSI :