Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
USELOCALE(3)	       FreeBSD Library Functions Manual		  USELOCALE(3)

NAME
     uselocale -- Sets a thread-local locale.

LIBRARY
     Standard C	Library	(libc, -lc)

SYNOPSIS
     #include <xlocale.h>

     locale_t
     uselocale(locale_t	locale);

DESCRIPTION
     Specifies the locale for this thread to use.  Specifying LC_GLOBAL_LOCALE
     disables the per-thread locale, while NULL	returns	the current locale
     without setting a new one.

RETURN VALUES
     Returns the previous locale, or LC_GLOBAL_LOCALE if this thread has no
     locale associated with it.

SEE ALSO
     duplocale(3), freelocale(3), localeconv(3), newlocale(3), querylocale(3),
     xlocale(3)

STANDARDS
     This function conforms to IEEE Std	1003.1-2008 (``POSIX.1'')

FreeBSD	9.3		       September 17 2011		   FreeBSD 9.3

NAME | LIBRARY | SYNOPSIS | DESCRIPTION | RETURN VALUES | SEE ALSO | STANDARDS

Want to link to this manual page? Use this URL:
<http://www.freebsd.org/cgi/man.cgi?query=uselocale&sektion=3&manpath=FreeBSD+9.1-RELEASE>

home | help