Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This noncompliant code example modifies the string returned by setlocale() by terminating the string when ‘'.’ ' is encountered such as “en_US.iso88591” to “en_US”. In this case, the behavior is undefined.

...

Wiki Markup
\[[ISO/IEC 9899:1999|AA. C References#ISO/IEC 9899-1999]\] Section 7.20.4.5, "The {{getenv}} function", Section 7.11.1.1, “The {{setlocale}} function”, Section 7.11.2.1, “The {{localeconv}} function”
\[[Open Group 04|AA. C References#Open Group 04]\] [getenv|http://www.opengroup.org/onlinepubs/000095399/functions/getenv.html], [setlocale|http://www.opengroup.org/onlinepubs/009695399/functions/setlocale.html], [localeconv|http://www.opengroup.org/onlinepubs/009695399/functions/localeconv.html]

...