dbh_update 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_update(3)	       DBHashTables Programmers' Manual		 dbh_update(3)NAME
       dbh_update, dbh_writeheader - write data record or file header to disk

SYNOPSIS
       #include <dbh.h>

       FILE_POINTER dbh_update (DBHashTable *dbh);
       int dbh_writeheader (DBHashTable *dbh);

DESCRIPTION
       dbh_update  will	 update the current record in memory to the disk based
       hash.  This function will update erased records	as  well  as  unerased
       records,	 but  if  an  erased  record  is  updated, it is automatically
       unerased.

       dbh_writeheader will write out the DBHashTable header information.   It
       is  advisable to call this function inmediately after creation of a new
       DBHashTable to force a buffer flush.

RETURN VALUE
       dbh_update returns 0 on error, byte offset of loaded  record  otherwise
       while dbh_writeheader returns 0 if error, 1 otherwise.

SEE ALSO
       dbh   (0),   dbh_set_data   (3),	 dbh_set_key  (3),  dbh_set_size  (3),
       dbh_set_recordsize (3), dbh_load (3), dbh_sweep (3)

Author
       Edscott Wilson Garcia <edscott@xfce.org>

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