Linux Standard Base Core Specification, Generic Part | ||
---|---|---|
<<< Previous | Next >>> |
The hsearch_r() is a reentrant version of the hsearch() function, but instead of operating on a single global hash table, hsearch_r() operates on the table described by the object that htab references. This object can be initialized with the function hcreate_r().
Unlike the hsearch() function, hsearch_r() returns a pointer to the found entry in the variable referred to by retval, rather than directly.
On success, hsearch_r() shall return a non-zero value.
On failure, hsearch_r() shall return 0
and set errno
to an appropriate value.
ENOMEM | action was set to | |
ESRCH | action was set to |
<<< Previous | Home | Next >>> |
hdestroy_r | Up | inet_aton |