/* lwrcopy.c */ /* Copyright 1997 by Eberhard Mattes Donated to the public domain. No warranty. 1997-09-06 Initial version */ #include #include "libemfw.h" /* Copy N characters from SRC to DST, converting to lower case. */ void lower_copy (char *dst, const char *src, size_t n) { DEBUG_ASSERT (dst != NULL); DEBUG_ASSERT (src != NULL); while (n != 0) { *dst++ = lower_table[(unsigned char)*src++]; --n; } }