DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

localeconv(S)


localeconv -- get lconv structure pointer

Syntax

cc . . . -lc

#include <locale.h>

struct lconv *localeconv ()

Description

The localeconv routine returns a pointer to a statically allocated lconv structure. When localeconv is called, setlocale(S) is implicitly called and sets locale-specific values for LC_ALL, LC_NUMERIC, or LC_MONETARY automatically into the structure. Refer to lconv(FP) for information about the lconv structure.

Return value

A pointer to the static lconv structure is returned. No errors occur from calling this routine.

See also

lconv(FP), setlocale(S)

Standards conformance

The localeconv routine conforms to:
ANSI X3.159-1989 Programming Language -- C
and IEEE POSIX Std 1003.1-1990 System Application Program Interface (API) [C Language] (ISO/IEC 9945-1) .
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003