DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

localeconv(S-osr5)


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-osr5) 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-osr5)

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) .
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005