home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / dev / gcc / ixemulsrc.lha / ixemul / general / localeconv.c < prev    next >
C/C++ Source or Header  |  1996-12-11  |  552b  |  42 lines

  1. /*
  2.  * Written by J.T. Conklin <jtc@netbsd.org>.
  3.  * Public domain.
  4.  */
  5.  
  6. #if defined(LIBC_SCCS) && !defined(lint)
  7. static char *rcsid = "$Id: localeconv.c,v 1.6 1995/04/28 23:19:32 jtc Exp $";
  8. #endif /* LIBC_SCCS and not lint */
  9.  
  10. #include <sys/localedef.h>
  11. #include <locale.h>
  12.  
  13. /*
  14.  * Return the current locale conversion.
  15.  */
  16. struct lconv *
  17. localeconv()
  18. {
  19.     static struct lconv ret = {
  20.     ".",
  21.     "",
  22.     "",
  23.     "",
  24.     "",
  25.     "",
  26.     "",
  27.     "",
  28.     "",
  29.     "",
  30.     CHAR_MAX,
  31.     CHAR_MAX,
  32.     CHAR_MAX,
  33.     CHAR_MAX,
  34.     CHAR_MAX,
  35.     CHAR_MAX,
  36.     CHAR_MAX,
  37.     CHAR_MAX
  38.     };
  39.  
  40.     return (&ret);
  41. }
  42.