From 78488dc84afac1398e582ae6bbaf9606d07afa1e Mon Sep 17 00:00:00 2001 From: John Denker Date: Sat, 2 Jun 2012 18:38:28 -0700 Subject: checkpassword ... as downloaded --- checkpasswd/byte_cr.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 checkpasswd/byte_cr.c (limited to 'checkpasswd/byte_cr.c') diff --git a/checkpasswd/byte_cr.c b/checkpasswd/byte_cr.c new file mode 100644 index 0000000..3e7a1d5 --- /dev/null +++ b/checkpasswd/byte_cr.c @@ -0,0 +1,16 @@ +#include "byte.h" + +void byte_copyr(to,n,from) +register char *to; +register unsigned int n; +register char *from; +{ + to += n; + from += n; + for (;;) { + if (!n) return; *--to = *--from; --n; + if (!n) return; *--to = *--from; --n; + if (!n) return; *--to = *--from; --n; + if (!n) return; *--to = *--from; --n; + } +} -- cgit v1.2.3