Print this page
2964 need POSIX 2008 locale object support
Reviewed by: Robert Mustacchi <rm@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/port/locale/_ctype.h
          +++ new/usr/src/lib/libc/port/locale/_ctype.h
   1    1  /*
        2 + * Copyright 2013 Garrett D'Amore <garrett@damore.org>
   2    3   * Copyright 2010 Nexenta Systems, Inc.  All rights reserved.
   3    4   * Copyright (c) 1989, 1993
   4    5   *      The Regents of the University of California.  All rights reserved.
   5    6   * (c) UNIX System Laboratories, Inc.
   6    7   * All or some portions of this file are derived from material licensed
   7    8   * to the University of California by American Telephone and Telegraph
   8    9   * Co. or Unix System Laboratories, Inc. and are reproduced herein with
   9   10   * the permission of UNIX System Laboratories, Inc.
  10   11   *
  11   12   * This code is derived from software contributed to Berkeley by
↓ open down ↓ 60 lines elided ↑ open up ↑
  72   73  #define _CTYPE_T        _E5                     /* Special */
  73   74  
  74   75  /* These high order bits were never used for anything at all. */
  75   76  #define _CTYPE_SW0      0x20000000U             /* 0 width character */
  76   77  #define _CTYPE_SW1      0x40000000U             /* 1 width character */
  77   78  #define _CTYPE_SW2      0x80000000U             /* 2 width character */
  78   79  #define _CTYPE_SW3      0xc0000000U             /* 3 width character */
  79   80  #define _CTYPE_SWM      0xe0000000U             /* Mask for screen width data */
  80   81  #define _CTYPE_SWS      30                      /* Bits to shift to get width */
  81   82  
  82      -unsigned int    ___runetype(int);
  83      -
  84   83  #endif /* !__CTYPE_H_ */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX