Next: 12.1.1 create: Create a
Up: 12 Miscellaneous OSKit Interfaces
Previous: 12 Miscellaneous OSKit Interfaces
The oskit_random COM interface provides a simple encapsulation for
pseudo-random number generators. The interface is based on the common C
library functions random and srandom. The interface inherits
from oskit_iunknown and provides the following additional methods:
- random
-
Produce a pseudo-random number in the range 0 to
.
- srandom
-
Seed the random number generator.
The oskit_random_create function can be used to create instances of
the oskit_random interface.
Utah Flux Research Group