NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

standards/47616: Manuals backdate multibyte functions to ANSI C, though A stands for American (the "big ten inch")



>Number:         47616
>Category:       standards
>Synopsis:       Manuals backdate multibyte functions to ANSI C, though A 
>stands for American (the "big ten inch")
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    standards-manager
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 04 12:45:00 +0000 2013
>Originator:     Steffen Daoden (through the grapevine) (Godzilla)
>Release:        6.99.16
>Organization:
>Environment:
/jsonn/src, trunk/
>Description:
Manuals falsely claim Ansi C.
I still don't know what is correct, but simply assumed that the presence of a 
function in lib/libc/locale/multibyte_*.c is correct.
Aaand i also found the addendum macro itmw.
>How-To-Repeat:

>Fix:
diff -Napru lib_libc_locale.orig/mblen.3 lib_libc_locale/mblen.3
--- lib_libc_locale.orig/mblen.3        2013-03-04 13:21:33.000000000 +0100
+++ lib_libc_locale/mblen.3     2013-03-04 13:23:13.000000000 +0100
@@ -177,4 +177,4 @@ points to an invalid or incomplete multi
 The
 .Fn mblen
 function conforms to
-.St -ansiC .
+.St -isoC .
diff -Napru lib_libc_locale.orig/mbstowcs.3 lib_libc_locale/mbstowcs.3
--- lib_libc_locale.orig/mbstowcs.3     2013-03-04 13:21:33.000000000 +0100
+++ lib_libc_locale/mbstowcs.3  2013-03-04 13:24:32.000000000 +0100
@@ -124,6 +124,6 @@ points to a string containing an invalid
 The
 .Fn mbstowcs
 function conforms to
-.St -ansiC .
+.St -isoC .
 The restrict qualifier is added at
 .St -isoC-99 .
diff -Napru lib_libc_locale.orig/mbtowc.3 lib_libc_locale/mbtowc.3
--- lib_libc_locale.orig/mbtowc.3       2013-03-04 13:21:33.000000000 +0100
+++ lib_libc_locale/mbtowc.3    2013-03-04 13:24:44.000000000 +0100
@@ -177,6 +177,6 @@ points to an invalid or incomplete multi
 The
 .Fn mbtowc
 function conforms to
-.St -ansiC .
+.St -isoC .
 The restrict qualifier is added at
 .St -isoC-99 .
diff -Napru lib_libc_locale.orig/wcsrtombs.3 lib_libc_locale/wcsrtombs.3
--- lib_libc_locale.orig/wcsrtombs.3    2013-03-04 13:21:33.000000000 +0100
+++ lib_libc_locale/wcsrtombs.3 2013-03-04 13:25:23.000000000 +0100
@@ -171,6 +171,6 @@ points to a string containing an invalid
 The
 .Fn wcsrtombs
 function conforms to
-.St -ansiC .
+.St -isoC-amd1 .
 The restrict qualifier is added at
 .St -isoC-99 .
diff -Napru lib_libc_locale.orig/wcstombs.3 lib_libc_locale/wcstombs.3
--- lib_libc_locale.orig/wcstombs.3     2013-03-04 13:21:33.000000000 +0100
+++ lib_libc_locale/wcstombs.3  2013-03-04 13:25:38.000000000 +0100
@@ -128,6 +128,6 @@ points to a string containing an invalid
 The
 .Fn wcstombs
 function conforms to
-.St -ansiC .
+.St -isoC .
 The restrict qualifier is added at
 .St -isoC-99 .
diff -Napru lib_libc_locale.orig/wctomb.3 lib_libc_locale/wctomb.3
--- lib_libc_locale.orig/wctomb.3       2013-03-04 13:21:33.000000000 +0100
+++ lib_libc_locale/wctomb.3    2013-03-04 13:28:47.000000000 +0100
@@ -128,4 +128,4 @@ No errors are defined.
 The
 .Fn wctomb
 function conforms to
-.St -ansiC .
+.St -isoC .



Home | Main Index | Thread Index | Old Index