/*
- * $Id: util.h,v 1.7 1996/07/09 03:41:08 wessels Exp $
+ * $Id: util.h,v 1.8 1996/07/22 16:41:04 wessels Exp $
*
* AUTHOR: Harvest Derived
*
extern void errorlog();
#endif /* __STRICT_ANSI__ */
+extern void Tolower _PARAMS((char *));
#endif /* ndef _UTIL_H_ */
/*
- * $Id: util.c,v 1.10 1996/07/16 01:49:52 wessels Exp $
+ * $Id: util.c,v 1.11 1996/07/22 16:40:58 wessels Exp $
*
* DEBUG:
* AUTHOR: Harvest Derived
#if HAVE_STRING_H
#include <string.h>
#endif
+#if HAVE_CTYPE_H
+#include <ctype.h>
+#endif
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
(void) memcpy(from, to, len);
#endif
}
+
+void Tolower(q)
+ char *q;
+{
+ char *s = q;
+ while (*s) {
+ *s = tolower((unsigned char) *s);
+ s++;
+ }
+}