👤
Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

NetBSD 6.1.5 - man page for elf_hash (netbsd section 3)

ELF_HASH(3)			   BSD Library Functions Manual 		      ELF_HASH(3)

NAME
     elf_hash -- compute a hash value for a string

LIBRARY
     library ``libelf''

SYNOPSIS
     #include <libelf.h>

     unsigned long
     elf_hash(const char *name);

DESCRIPTION
     Function elf_hash() computes a portable hash value for the null terminated string pointed to
     by argument name.

     The hash value returned is will be identical across machines of different architectures.
     This allows hash tables to be built on one machine and correctly used on another of a dif-
     ferent architecture.  The hash value returned is also guaranteed not to be the bit pattern
     of all ones (~0UL).

IMPLEMENTATION NOTES
     The library internally uses unsigned 32 bit arithmetic to compute the hash value.

SEE ALSO
     elf(3), gelf(3)

BSD					 August 15, 2006				      BSD


All times are GMT -4. The time now is 01:56 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password