Subject: standards/12157: setlocale(3) conforms to ANSI C, not only ISO C90
To: None <firstname.lastname@example.org>
From: Jaromír <jdolecek@NetBSD.org>
Date: 02/08/2001 16:20:20
>Synopsis: setlocale(3) conforms to ANSI C, not only ISO C90
>Arrival-Date: Thu Feb 08 16:23:01 PST 2001
>Originator: Jaromír Dolecek
>Release: NetBSD 20010208
System: NetBSD saruman.ics.muni.cz 1.5R NetBSD 1.5R (SARUMAN) #10: Mon Feb 5 13:23:46 CET 2001 email@example.com:/usr/home/dolecek/soft/netbsd/sys/arch/i386/compile/SARUMAN i386
Manpage for setlocale(3) and localeconv(3) states that it's
conforming to ISO C90. Though that probably holds, ANSI C
defines setlocale(3) and localeconv(3) too and it seems
that our implementation is conforming to it. Stating it's
conforming to ISO C90 only may discourage use of setlocale(3)
for those who don't have ANSI C standard handy and hence assume
it's new in ISO C90.
Usage like 'setlocale(LC_ALL, "")' is fairly well defined
by ANSI C and can safely be used on systems supporting ANSI C
Read STANDARDS section of setlocale(3) manpage.
Should document the functions conform to ANSI C as well, with
possible list of extensions, if there are any.