Print this page
4964 nl_langinfo(CRNCYSTR) returns wrong alignment character
4999 libc test suite enhancements
4939 desire wcsnrtombs() function
Reviewed by: Jason King <jason.brian.king@gmail.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Approved by: TBD

Split Close
Expand all
Collapse all
          --- old/usr/src/head/xlocale.h
          +++ new/usr/src/head/xlocale.h
↓ open down ↓ 73 lines elided ↑ open up ↑
  74   74  extern size_t mbrtowc_l(wchar_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD,
  75   75      size_t, mbstate_t *_RESTRICT_KYWD, locale_t);
  76   76  extern size_t mbstowcs_l(wchar_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD,
  77   77      size_t, locale_t);
  78   78  extern int mblen_l(const char *, size_t, locale_t);
  79   79  extern size_t mbrlen_l(const char *_RESTRICT_KYWD, size_t,
  80   80      mbstate_t *_RESTRICT_KYWD, locale_t);
  81   81  extern int mbtowc_l(wchar_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, size_t,
  82   82      locale_t);
  83   83  extern size_t wcsrtombs_l(char *_RESTRICT_KYWD, const wchar_t **_RESTRICT_KYWD,
  84      -    size_t len, mbstate_t *_RESTRICT_KYWD, locale_t);
       84 +    size_t, mbstate_t *_RESTRICT_KYWD, locale_t);
       85 +extern size_t wcsnrtombs_l(char *_RESTRICT_KYWD, const wchar_t **_RESTRICT_KYWD,
       86 +    size_t, size_t, mbstate_t *_RESTRICT_KYWD, locale_t);
  85   87  extern size_t wcrtomb_l(char *_RESTRICT_KYWD, wchar_t,
  86   88      mbstate_t *_RESTRICT_KYWD, locale_t);
  87   89  extern size_t wcstombs_l(char *_RESTRICT_KYWD, const wchar_t *_RESTRICT_KYWD,
  88   90      size_t, locale_t);
  89   91  extern int wctomb_l(char *, wchar_t, locale_t);
  90   92  
  91   93  extern unsigned char __mb_cur_max_l(locale_t);
  92   94  #ifndef MB_CUR_MAX_L
  93   95  #define MB_CUR_MAX_L(l) (__mb_cur_max_l(l))
  94   96  #endif
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX