dbh_load_parent man page on DragonFly

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

dbh_load(3)	       DBHashTables Programmers' Manual		   dbh_load(3)NAME
       dbh_load,  dbh_load_address,  dbh_load_parent,  dbh_load_child - load a
       DBHashTable record to memory

SYNOPSIS
       #include <dbh.h>

       FILE_POINTER dbh_load (DBHashTable *dbh);
       unsigned	 char  dbh_load_address	 (DBHashTable  *dbh,  FILE_POINTERcur‐
       rentseek);
       FILE_POINTER dbh_load_parent (DBHashTable *dbh);
       FILE_POINTER    dbh_load_child	(DBHashTable   *dbh,   unsigned	  char
       key_index);

DESCRIPTION
       dbh_load will load a record using the currently set key.	 This function
       will also load erased values, except that it will return 0.
       dbh_load_address	 will load a record from hash table directly from byte
       offset currentseek.
       dbh_load_parent will load the parent of the currently loaded record.
       dbh_load_child will load	 the  first  child  of	the  currently	loaded
       record,	on branch identified by key_index.  Since the number of childs
       (or branches) of each record is variable, this may be tricky. Top level
       records	have  DBH_KEYLENGTH  branches.	Lower level records have less.
       Each byte of a key represents a branch on top level records.

RETURN VALUE
       dbh_load_address will return 0 on error, number of branches otherwise.
       dbh_load, dbh_load_parent, dbh_load_child will return 0 on error,  byte
       offset of loaded record otherwise.

SEE ALSO
       dbh (0), dbh_update (3), dbh_macros (3),

Author
       Edscott Wilson Garcia <edscott@xfce.org>

DBH				 DBHashTables			   dbh_load(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