text: setlocale - set the current locale
  Synopsis
  Description
  Notes
  Colophon
  #include <locale.h>
  char *setlocale(int category, const char *locale);
  The setlocale() function is used to set or query the programs current locale.
  If locale is not NULL, the programs current locale is modified according to the arguments. The argument category determines which parts of the programs.
  setlocale(LC_ALL, "");
  A successful call to setlocale() returns an opaque string that corresponds to the locale set. This string may be allocated in static storage. The string returned is such that a subsequent call with that string and its associated category will restore that part of the processs locale. The return value is NULL if the request cannot be honored.
  C89, C99, POSIX.1-2001..
  locale(1), localedef(1), isalpha(3), localeconv(3), nl_langinfo(3), rpmatch(3), strcoll(3), strftime(3), charsets(7), locale(7)
  This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at.