View Single Post
  #1  
Old 01-07-2005, 10:31
WhoCares's Avatar
WhoCares WhoCares is offline
who cares
 
Join Date: Jan 2002
Location: Here
Posts: 468
Rept. Given: 11
Rept. Rcvd 32 Times in 25 Posts
Thanks Given: 69
Thanks Rcvd at 247 Times in 94 Posts
WhoCares Reputation: 32
porting GNU tdestroy() function to SPARC Solaris

The GNU tdestroy() function only exists in Linux. Currently I have to port it to SPARC Solaris 9. It seems that tdestroy() can't be implemented with tsearch/tfind/tdelete/twalk combinations. I will be shocked if this is true because it will be ridiculous for the API function designers if there is no way to free all the resources of a tree in Solaris OS. Do I have to re-write the whole bunch of tree manipulation functions from scratch?
http://www.planetpenguin.de/manpage-3-tdestroy.3.html
__________________
AKA Solomon/blowfish.

Last edited by WhoCares; 01-07-2005 at 10:37.
Reply With Quote