chiark
/
gitweb
/
~mdw
/
qmail
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Update changelog.
[qmail]
/
str_cpy.c
1
#include "str.h"
2
3
unsigned int str_copy(s,t)
4
register char *s;
5
register char *t;
6
{
7
register int len;
8
9
len = 0;
10
for (;;) {
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
if (!(*s = *t)) return len; ++s; ++t; ++len;
15
}
16
}