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
pass port numbers around in network order
[unix-history]
/
usr
/
src
/
lib
/
libc
/
string
/
strcpy.c
Commit
Line
Data
6f577349
BJ
1
/* @(#)strcpy.c 4.1 (Berkeley) %G% */
2
/*
3
* Copy string s2 to s1. s1 must be large enough.
4
* return s1
5
*/
6
7
char *
8
strcpy(s1, s2)
9
register char *s1, *s2;
10
{
11
register char *os1;
12
13
os1 = s1;
14
while (*s1++ = *s2++)
15
;
16
return(os1);
17
}