Convenience Commands

The convenience commands are provided for ease of use with the DB test suite.

> berkdb rand

This command will invoke the rand function and return the random number.


> berkdb random_int low high

This command will invoke the rand function and return a number between low and high.


> berkdb srand seed

This command will invoke the srand function with the given seed and return 0.