• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <locale.h>
2 #include <string.h>
3 #include "locale_impl.h"
4 
__lctrans_impl(const char * msg,const struct __locale_map * lm)5 const char *__lctrans_impl(const char *msg, const struct __locale_map *lm)
6 {
7 	const char *trans = 0;
8 	if (lm) trans = __mo_lookup(lm->map, lm->map_size, msg);
9 	return trans ? trans : msg;
10 }
11