[tyndur-devel] [PATCH] libc: setlocale() Stub zum Auslesen
Kevin Wolf ·
Am Sonntag, 17. Mai 2009 17:36 schrieb Antoine Kaufmann: > + libc: setlocale() Stub, der nur das aktuelle Locale ausliest > > Signed-off-by: Antoine Kaufmann <toni at tyndur.org> > --- > src/modules/include/locale.h | 21 +++++++++++++++++++++ > 1 files changed, 21 insertions(+), 0 deletions(-) > > diff --git a/src/modules/include/locale.h b/src/modules/include/locale.h > index 3850fd0..294e869 100644 > --- a/src/modules/include/locale.h > +++ b/src/modules/include/locale.h > @@ -66,6 +66,16 @@ struct lconv { > }; > > > +/* Moegliche Werte fuer setlocale */ > +#define LC_ALL 1 > +#define LC_COLLATE 1 > +#define LC_CTYPE 1 > +#define LC_MESSAGES 1 > +#define LC_MONETARY 1 > +#define LC_NUMERIC 1 > +#define LC_TIME 1 Ich weiß, es ist nur ein Stub. Aber unterschiedliche Werte hätte man den Konstanten ja trotzdem gönnen können, oder? ;-)
Antworten
- [tyndur-devel] [PATCH] libc: setlocale() Stub zum Auslesen · Antoine Kaufmann