FreeBASIC  0.91.0
drv_intl_get.c
Go to the documentation of this file.
1 /* get i18n data */
2 
3 #include "../fb.h"
4 #include <langinfo.h>
5 
6 const char *fb_DrvIntlGet( eFbIntlIndex Index )
7 {
8  switch( Index ) {
9  case eFIL_DateDivider:
10  return "/";
11  case eFIL_TimeDivider:
12  return ":";
14  return nl_langinfo( RADIXCHAR );
16  return nl_langinfo( THOUSEP );
17  }
18  return NULL;
19 }