ARM VERSION 1.2 Ficha Técnica Página 129

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 276
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 128
The C and C++ Libraries
ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-39
strftime(timestr, sizeof(timestr), "%c", &tm);
EQS(timestr, "jeudi, 12 fevrier 1998, 23:13:13");
EQI(!setlocale(LC_TIME, "C"), 0); /* setlocale should work */
EQS(setlocale(LC_TIME, NULL), "C");
strftime(timestr, sizeof(timestr), "%c", &tm);
EQS(timestr, "12 Feb 1998 23:13:13");
}
The offset fields are interpreted similarly to
__lc_monetary_blk
.
4.6.9 _get_lconv()
_get_lconv()
sets the components of an
lconv
structure with values appropriate for the
formatting of numeric quantities.
Syntax
void _get_lconv(struct lconv* lc)
Implementation
This extension to ANSI does not use any static data. If youare building an application
that must conform strictly to the ANSI C standard, use
localeconv()
instead.
Returns
The existing
lconv
structure
lc
is filled with formatting data.
Vista de página 128
1 2 ... 124 125 126 127 128 129 130 131 132 133 134 ... 275 276

Comentários a estes Manuais

Sem comentários