Print this page
Fix compile errors, code review feedback, and add basic libc test suite.


  82 
  83 struct locdata *__locdata_alloc(const char *, size_t);
  84 struct locdata *__locdata_hold(struct locdata *);
  85 void __locdata_release(struct locdata *);
  86 struct locdata *__locdata_get_cache(int, const char *);
  87 void __locdata_set_cache(int, struct locdata *);
  88 
  89 struct locdata *__lc_numeric_load(const char *name);
  90 struct locdata *__lc_monetary_load(const char *name);
  91 struct locdata *__lc_messages_load(const char *name);
  92 struct locdata *__lc_time_load(const char *name);
  93 struct locdata *__lc_ctype_load(const char *name);
  94 struct locdata *__lc_collate_load(const char *name);
  95 
  96 extern struct locdata   __posix_numeric_locdata;
  97 extern struct locdata   __posix_monetary_locdata;
  98 extern struct locdata   __posix_messages_locdata;
  99 extern struct locdata   __posix_time_locdata;
 100 extern struct locdata   __posix_ctype_locdata;
 101 extern struct locdata   __posix_collate_locdata;

 102 
 103 #endif  /* _LOCALEIMPL_H_ */


  82 
  83 struct locdata *__locdata_alloc(const char *, size_t);
  84 struct locdata *__locdata_hold(struct locdata *);
  85 void __locdata_release(struct locdata *);
  86 struct locdata *__locdata_get_cache(int, const char *);
  87 void __locdata_set_cache(int, struct locdata *);
  88 
  89 struct locdata *__lc_numeric_load(const char *name);
  90 struct locdata *__lc_monetary_load(const char *name);
  91 struct locdata *__lc_messages_load(const char *name);
  92 struct locdata *__lc_time_load(const char *name);
  93 struct locdata *__lc_ctype_load(const char *name);
  94 struct locdata *__lc_collate_load(const char *name);
  95 
  96 extern struct locdata   __posix_numeric_locdata;
  97 extern struct locdata   __posix_monetary_locdata;
  98 extern struct locdata   __posix_messages_locdata;
  99 extern struct locdata   __posix_time_locdata;
 100 extern struct locdata   __posix_ctype_locdata;
 101 extern struct locdata   __posix_collate_locdata;
 102 extern locale_t ___global_locale; 
 103 
 104 #endif  /* _LOCALEIMPL_H_ */