projects
/
unix-history
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Research V7 development
[unix-history]
/
usr
/
src
/
libc
/
gen
/
strcpy.c
Commit
Line
Data
6b23496e
DR
1
/*
2
* Copy string s2 to s1. s1 must be large enough.
3
* return s1
4
*/
5
6
char *
7
strcpy(s1, s2)
8
register char *s1, *s2;
9
{
10
register char *os1;
11
12
os1 = s1;
13
while (*s1++ = *s2++)
14
;
15
return(os1);
16
}