random.h 378 B

123456789101112131415
  1. /*
  2. * Copyright (c) 1995 Colin Plumb. All rights reserved.
  3. * For licensing and other legal details, see the file legal.c.
  4. */
  5. #include "usuals.h"
  6. int randSourceSet(char const *string, unsigned len, int pri);
  7. void randBytes(byte *dest, unsigned len);
  8. unsigned randRange(unsigned range);
  9. unsigned randEvent(int event);
  10. void randFlush(void);
  11. void randAccum(unsigned count);