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

VxWorks

开发平台:

C/C++

  1. /* sigevent.h - sigevent structure, needed by several header files */
  2. /* Copyright 1984-1992 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 02c,09nov93,rrr  update to posix 1003.4 draft 14
  7. 02b,22sep92,rrr  added support for c++
  8. 02a,04jul92,jcf  cleaned up.
  9. 01b,26may92,rrr  the tree shuffle
  10. 01a,19feb92,rrr  written from posix spec
  11. */
  12. #ifndef __INCsigeventh
  13. #define __INCsigeventh
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. union sigval
  18.     {
  19.     int sival_int;
  20.     void *sival_ptr;
  21.     };
  22. struct sigevent
  23.     {
  24.     int sigev_signo;
  25.     union sigval sigev_value;
  26.     int sigev_notify;
  27.     };
  28. #ifdef __cplusplus
  29. }
  30. #endif
  31. #endif /* __INCsigeventh */