random.h
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* random.h - PPP random number generator header */
  2. /* Copyright 1995 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01a,17jun95,dzb  written.
  7. */
  8. #ifndef __INCrandomh
  9. #define __INCrandomh
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. /* function declarations */
  14.  
  15. #if defined(__STDC__) || defined(__cplusplus)
  16.   
  17. extern long random (void);
  18. extern void srandom (int);
  19. #else /* __STDC__ */
  20. extern long random ();
  21. extern void srandom ();
  22. #endif /* __STDC__ */
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26. #endif /* __INCrandomh */