EN JA
USELOCALE(3)
USELOCALE(3) FreeBSD Library Functions Manual USELOCALE(3)

NAME

uselocaleSets 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.

STANDARDS

This function conforms to IEEE Std 1003.1-2008 (“POSIX.1”).
September 17, 2011 FreeBSD