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

@@ -23,10 +23,14 @@
  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
 /*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ */
+
+/*
  * An application should not include this header directly.  Instead it
  * should be included only through the inclusion of other Sun headers.
  *
  * The contents of this header is limited to identifiers specified in the
  * C Standard.  Any new identifiers specified in future amendments to the

@@ -37,12 +41,10 @@
  */
 
 #ifndef _ISO_WCHAR_ISO_H
 #define _ISO_WCHAR_ISO_H
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include <sys/feature_tests.h>
 #include <stdio_tag.h>
 #include <wchar_impl.h>
 #include <iso/time_iso.h>
 

@@ -324,10 +326,14 @@
                         const wchar_t *_RESTRICT_KYWD, __va_list);
 extern size_t   wcrtomb(char *_RESTRICT_KYWD, wchar_t,
                         mbstate_t *_RESTRICT_KYWD);
 extern size_t   wcsrtombs(char *_RESTRICT_KYWD, const wchar_t **_RESTRICT_KYWD,
                         size_t, mbstate_t *_RESTRICT_KYWD);
+#if defined(_XPG7) || !defined(_STRICT_SYMBOLS)
+extern size_t   wcsnrtombs(char *_RESTRICT_KYWD, const wchar_t **_RESTRICT_KYWD,
+                        size_t, size_t, mbstate_t *_RESTRICT_KYWD);
+#endif
 extern int      wctob(wint_t);
 extern int      wmemcmp(const wchar_t *, const wchar_t *, size_t);
 extern wchar_t  *wmemcpy(wchar_t *_RESTRICT_KYWD,
                         const wchar_t *_RESTRICT_KYWD, size_t);
 extern wchar_t  *wmemmove(wchar_t *, const wchar_t *, size_t);

@@ -418,10 +424,14 @@
 extern int      vfwprintf();
 extern int      vwprintf();
 extern int      vswprintf();
 extern size_t   wcrtomb();
 extern size_t   wcsrtombs();
+#if defined(_XPG7) || !defined(_STRICT_SYMBOLS)
+extern size_t   wcsnrtombs();
+#endif
+
 extern wchar_t  *wcsstr();
 extern int      wctob();
 extern wchar_t  *wmemchr();
 extern int      wmemcmp();
 extern wchar_t  *wmemcpy();