Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/ctype_old.c')
-rw-r--r--winsup/mingw/ctype_old.c52
1 files changed, 52 insertions, 0 deletions
diff --git a/winsup/mingw/ctype_old.c b/winsup/mingw/ctype_old.c
new file mode 100644
index 000000000..07eaec1d8
--- /dev/null
+++ b/winsup/mingw/ctype_old.c
@@ -0,0 +1,52 @@
+/*
+ * ctype_old.c
+ *
+ * Oldnames from ANSI header ctype.h
+ *
+ * Some wrapper functions for those old name functions whose appropriate
+ * equivalents are not simply underscore prefixed.
+ *
+ * Contributors:
+ * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRENTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAMED. This includes but is not limited to warrenties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * $Revision$
+ * $Author$
+ * $Date$
+ *
+ */
+
+#include <ctype.h>
+
+int
+isascii (int c)
+{
+ return __isascii(c);
+}
+
+int
+toascii (int c)
+{
+ return __toascii(c);
+}
+
+int
+iscsymf (int c)
+{
+ return __iscsymf(c);
+}
+
+int
+iscsym (int c)
+{
+ return __iscsym(c);
+}