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/stdint.h
          +++ new/usr/src/head/stdint.h
↓ open down ↓ 27 lines elided ↑ open up ↑
  28   28  #define _STDINT_H
  29   29  
  30   30  /*
  31   31   * This header was introduced by the ISO C Standard, ISO/IEC
  32   32   * 9899:1999 Programming language - C. It is a subset of the
  33   33   * <inttypes.h> header.
  34   34   */
  35   35  
  36   36  #include <sys/stdint.h>
  37   37  
       38 +#if __EXT1_VISIBLE
       39 +/* ISO/IEC 9899:2011 K.3.4.4 */
       40 +#ifndef RSIZE_MAX
       41 +#define RSIZE_MAX (SIZE_MAX >> 1)
       42 +#endif
       43 +#endif  /* __EXT1_VISIBLE */
       44 +
  38   45  #endif  /* _STDINT_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX