Hcreate_r , hdestroy_r, hsearch_data


 
Thread Tools Search this Thread
Operating Systems Solaris Hcreate_r , hdestroy_r, hsearch_data
# 1  
Old 10-17-2014
Hcreate_r , hdestroy_r, hsearch_data

Hi,

I want to use the below functions on solaris box
SunOS 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Fire-V240

Commands are
  1. hcreate_r
  2. hdestroy_r
  3. hsearch_data (a structure)
These are re-entrants version of hcreate & hdestroy functions available in <search.h>

My questions is that I can't locate them anywhere. On linux box I am able to use these functions as they are available in <search.h>

Please guide what shall I do?

---------- Post updated at 10:51 PM ---------- Previous update was at 01:01 PM ----------

Quote:
Originally Posted by skyineyes
Hi,

I want to use the below functions on solaris box
SunOS 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Fire-V240

Commands are
  1. hcreate_r
  2. hdestroy_r
  3. hsearch_data (a structure)

These are re-entrants version of hcreate & hdestroy functions available in <search.h>

My questions is that I can't locate them anywhere. On linux box I am able to use these functions as they are available in <search.h>

Please guide what shall I do?
NOT EVEN A SINGLE REPLY????

Last edited by rbatte1; 10-17-2014 at 07:50 AM.. Reason: Added LIST=1 tags
# 2  
Old 10-17-2014
There's no SLA for these FREE forums - everything is done on the 'best effort' basis. Bumping posts and double posting will lessen your chances for a worthy replies.
# 3  
Old 10-17-2014
Quote:
Originally Posted by skyineyes
Hi,

I want to use the below functions on solaris box
SunOS 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Fire-V240

Commands are
1. hcreate_r
2. hdestroy_r
3. hsearch_data (a structure)

these are re-entrants version of hcreate & hdestroy functions available in <search.h>

My questions is that i can't locate them anywhere. On linux box i am able to use these functions as they are available in <search.h>

Please guide what shall i DO?

---------- Post updated at 10:51 PM ---------- Previous update was at 01:01 PM ----------



NOT EVEN A SINGLE REPLY????
Hello skyineyes,

Writing in capital letters and bumping up the posts is not acceptable, this forum is to help/guide/learn people, every body has to participate in the same and moreover
learning is not a single day process. kindly go through the rules again please in following link.
https://www.unix.com/misc.php?do=cfrules

Rule no-1:
Quote:
(1) No flames, shouting (all caps), sarcasm, bullying, profanity or arrogant posts.
Rule no-2:
Quote:
(2) No negative comments about others or impolite remarks. Be patient. No BSD vs. Linux vs. Windows or similar negative threads.
Rule no-4:
Quote:
(4) Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post or send a private message where your goal is to get an answer more quickly.
Please take my comments in positive way as I am also learning here and trying to help people/ learn from people as much as I/we can.

Thanks,
R. Singh

Last edited by RavinderSingh13; 10-17-2014 at 02:17 AM..
These 2 Users Gave Thanks to RavinderSingh13 For This Post:
# 4  
Old 10-17-2014
Hi,

In answer to your original post, I have a quick question - what compiler are you using and what is the value of
Code:
$LD_LIBRARY_PATH

Regards

Dave
# 5  
Old 10-17-2014
You may have to port these routines onto your Solaris system.
# 6  
Old 10-17-2014
From man hcreate:

Code:
CONFORMING TO
       The functions hcreate(), hsearch(), and hdestroy() are from  SVr4,  and
       are described in POSIX.1-2001.  The functions hcreate_r(), hsearch_r(),
       and hdestroy_r() are GNU extensions.

Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Emergency UNIX and Linux Support

Hcreate_r , hdestroy_r, hsearch_data

Hi, I want to use the below functions on solaris box Commands are 1. hcreate_r 2. hdestroy_r 3. hsearch_data (a structure) these are re-entrants version of hcreate & hdestroy functions available in <search.h> My questions is that i can't locate them anywhere. On linux box i am able... (1 Reply)
Discussion started by: skyineyes
1 Replies
Login or Register to Ask a Question