The Porting and Archiving Centre for HP-UX 
 Home
 Catalogue
 FAQ
 What's New?
 

Search for a package

Package name
Description
Author

Search Term

Case Sensitive

- The RANDOM macro defined in atree.h uses the lousy but portable
rand() function (results of rand() are shifted to make it slightly
better), you are encouraged to change it for your system.
Just make sure that RANDOM(b) returns a number between 0 and b-1
(ie. replacing rand() with a function returning negative numbers
will have unpleasant consequences).

 

    
Home | Catalogue | FAQ | What's New? | Contact Us
A service by Connect Internet SolutionsHewlett Packard Logo