s/qmail  3.3.23
Next generation secure email transport
str_cpyb.c
Go to the documentation of this file.
1 #include "str.h"
2 
3 unsigned int str_copyb(register char *s,register char *t,unsigned int max)
4 {
5  register int len;
6 
7  len = 0;
8 
9  while (max-- > 0) {
10  if (!(*s = *t)) return len; ++s; ++t; ++len;
11  if (!(*s = *t)) return len; ++s; ++t; ++len;
12  if (!(*s = *t)) return len; ++s; ++t; ++len;
13  if (!(*s = *t)) return len; ++s; ++t; ++len;
14  }
15 
16  return len;
17 }
unsigned int str_copyb(register char *s, register char *t, unsigned int max)
Definition: str_cpyb.c:3
unsigned len
Definition: matchup.c:36