Print this page
5875 psignal and psiginfo should not be exposed in environments prior to POSIX 2008


  35 #include <sys/siginfo.h>
  36 
  37 #ifdef  __cplusplus
  38 extern "C" {
  39 #endif
  40 
  41 struct siginfolist {
  42         int nsiginfo;
  43         char **vsiginfo;
  44 };
  45 
  46 extern const char *_sys_illlist[];
  47 extern const char *_sys_fpelist[];
  48 extern const char *_sys_segvlist[];
  49 extern const char *_sys_buslist[];
  50 extern const char *_sys_traplist[];
  51 extern const char *_sys_cldlist[];
  52 extern const struct siginfolist *_sys_siginfolistp;
  53 #define _sys_siginfolist        _sys_siginfolistp
  54 

  55 extern void psignal(int, const char *);
  56 extern void psiginfo(const siginfo_t *, const char *);

  57 
  58 #ifdef  __cplusplus
  59 }
  60 #endif
  61 
  62 #endif  /* _SIGINFO_H */


  35 #include <sys/siginfo.h>
  36 
  37 #ifdef  __cplusplus
  38 extern "C" {
  39 #endif
  40 
  41 struct siginfolist {
  42         int nsiginfo;
  43         char **vsiginfo;
  44 };
  45 
  46 extern const char *_sys_illlist[];
  47 extern const char *_sys_fpelist[];
  48 extern const char *_sys_segvlist[];
  49 extern const char *_sys_buslist[];
  50 extern const char *_sys_traplist[];
  51 extern const char *_sys_cldlist[];
  52 extern const struct siginfolist *_sys_siginfolistp;
  53 #define _sys_siginfolist        _sys_siginfolistp
  54 
  55 #if defined(_XPG7) || !defined(_STRICT_SYMBOLS)
  56 extern void psignal(int, const char *);
  57 extern void psiginfo(const siginfo_t *, const char *);
  58 #endif
  59 
  60 #ifdef  __cplusplus
  61 }
  62 #endif
  63 
  64 #endif  /* _SIGINFO_H */