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

VxWorks

开发平台:

C/C++

  1. /* sigLib.h - obsolete vxWorks 5.0 header file */
  2. /* Copyright 1984-1992 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01f,09feb93,rrr  added SIGCONTEXT typedef for compatibility with 5.0.
  7. 01e,05feb93,rrr  fixed spr 1906 (signal numbers to match sun os)
  8. 01d,22sep92,rrr  added support for c++
  9. 01c,21sep92,rrr  more stuff to be more like 5.0.
  10. 01a,20sep92,smb  changed signalP.h to sigLibP.h
  11. 01a,19sep92,jcf  written for compatibility with 5.0.
  12. */
  13. #ifndef __INCsigLibh
  14. #define __INCsigLibh
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. #include "signal.h"
  19. #include "sigCodes.h"
  20. #include "unistd.h"
  21. #include "private/sigLibP.h"
  22. #define NUM_SIGNALS 32
  23. #define SIGIO (SIGRTMIN + 0)
  24. #define SIGXCPU (SIGRTMIN + 1)
  25. #define SIGXFSZ (SIGRTMIN + 2)
  26. #define SIGVTALRM (SIGRTMIN + 3)
  27. #define SIGPROF (SIGRTMIN + 4)
  28. #define SIGWINCH (SIGRTMIN + 5)
  29. #define SIGLOST (SIGRTMIN + 6)
  30. #define SIGURG 16
  31. #define SIGIOT SIGABRT
  32. #define SIGCLD SIGCHLD
  33. #define SIGPOLL SIGIO
  34. #define SIGSYS SIGFMT
  35. #define NUM_SIGNALS 32
  36. typedef struct sigvec SIGVEC;
  37. typedef struct sigcontext SIGCONTEXT;
  38. #ifdef __cplusplus
  39. }
  40. #endif
  41. #endif /* __INCsigLibh */