aboutsummaryrefslogtreecommitdiff
path: root/src/lib/edin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/edin.c')
-rw-r--r--src/lib/edin.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/edin.c b/src/lib/edin.c
index f85a632a..568bb77a 100644
--- a/src/lib/edin.c
+++ b/src/lib/edin.c
@@ -792,6 +792,18 @@ forwardflag_cpy(int *buff1,int * buff2,int num)
buff1[count] = buff2[count];
}
+void
+strnmov(char *dest, const char *src, size_t n)
+{
+ while (n-- && (*dest++ = *src++));
+}
+
+void
+strmov(char *dest, const char *src)
+{
+ while ((*dest++ = *src++));
+}
+
void
flagcpy(int *s,int *t)
{