Print this page
8548 want memset_s(3C)
Reviewed by: Robert Mustacchi <rm@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/head/iso/stddef_iso.h
          +++ new/usr/src/head/iso/stddef_iso.h
↓ open down ↓ 81 lines elided ↑ open up ↑
  82   82  }
  83   83  #endif /* end of namespace std */
  84   84  
  85   85  #if !defined(_MAX_ALIGN_T)
  86   86  #if !defined(_STRICT_SYMBOLS) || defined(_STDC_C11)
  87   87  #define _MAX_ALIGN_T
  88   88  typedef _MAX_ALIGNMENT_TYPE max_align_t;
  89   89  #endif /* !_STRICT_SYMBOLS || _STDC_C11 */
  90   90  #endif  /* _MAX_ALIGN_T */
  91   91  
       92 +#if __EXT1_VISIBLE
       93 +/* ISO/IEC 9899:2011 K.3.3.2 */
       94 +#ifndef _RSIZE_T_DEFINED
       95 +#define _RSIZE_T_DEFINED
       96 +typedef size_t rsize_t;
       97 +#endif
       98 +/* ISO/IEC 9899:2011 K.3.2.2 */
       99 +#ifndef _ERRNO_T_DEFINED
      100 +#define _ERRNO_T_DEFINED
      101 +typedef int errno_t;
      102 +#endif
      103 +#endif  /* __EXT1_VISIBLE */
      104 +
  92  105  #ifdef  __cplusplus
  93  106  }
  94  107  #endif
  95  108  
  96  109  #endif  /* _ISO_STDDEF_ISO_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX