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

Split Close
Expand all
Collapse all
          --- old/usr/src/head/siginfo.h
          +++ new/usr/src/head/siginfo.h
↓ open down ↓ 44 lines elided ↑ open up ↑
  45   45  
  46   46  extern const char *_sys_illlist[];
  47   47  extern const char *_sys_fpelist[];
  48   48  extern const char *_sys_segvlist[];
  49   49  extern const char *_sys_buslist[];
  50   50  extern const char *_sys_traplist[];
  51   51  extern const char *_sys_cldlist[];
  52   52  extern const struct siginfolist *_sys_siginfolistp;
  53   53  #define _sys_siginfolist        _sys_siginfolistp
  54   54  
       55 +#if defined(_XPG7) || !defined(_STRICT_SYMBOLS)
  55   56  extern void psignal(int, const char *);
  56   57  extern void psiginfo(const siginfo_t *, const char *);
       58 +#endif
  57   59  
  58   60  #ifdef  __cplusplus
  59   61  }
  60   62  #endif
  61   63  
  62   64  #endif  /* _SIGINFO_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX