]> pd.if.org Git - pdclib.old/blobdiff - platform/example/functions/_PDCLIB/stdinit.c
Addressed ticket #40 (non-standard errno values).
[pdclib.old] / platform / example / functions / _PDCLIB / stdinit.c
index 5550c4d7ce02acc324a87daeef7cc91181410b91..9467077d4e9b34acf1558860ce29bf7be7005d59 100644 (file)
@@ -306,6 +306,12 @@ static struct _PDCLIB_ctype_t _ctype[] = {
 
 struct lconv _PDCLIB_lconv = { 
     /* _PDCLIB_ctype      */ _ctype + 1,
+    /* _PDCLIB_errno_texts */
+    {
+        /* no error */ (char *)"",
+        /* ERANGE   */ (char *)"ERANGE (Range error)",
+        /* EDOM     */ (char *)"EDOM (Domain error)"
+    },
     /* decimal_point      */ (char *)".",
     /* thousands_sep      */ (char *)"",
     /* grouping           */ (char *)"",