ght_insert man page on DragonFly

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

ght_insert(3)		    libghthash User Manual		 ght_insert(3)

NAME
       ght_insert - insert an entry into the hash table.

SYNOPSIS
       #include <ght_hash_table.h>

       int ght_insert(ght_hash_table_t *p_ht, void *p_entry_data, unsigned int
       i_key_size, void *p_key_data);

DESCRIPTION
       Insert an entry into the hash table, i.e., associate a particular piece
       of data with a key. Prior to inserting anything, make sure that the ta‐
       ble is created with ght_create() insertion will fail.

       p_ht is a pointer to the hash table to insert into, p_entry_data	 is  a
       pointer	to  the	 value	to  store,  i_key_size	is the size of the key
       passed, and p_key_data is a pointer to the key data.

RETURN VALUE
       Returns 0 if the element could be inserted, -1 otherwise.

SEE ALSO
       ght_create(3),

       libghthash   is	 fully	 documented    with    Doxygen	  (in	 {pre‐
       fix}/doc/libghthash/html/).

AUTHOR
       This manual page was created by Simon Kagstrom <ska@bth.se>.

libghthash			  2005-07-21			 ght_insert(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