repo.or.cz
/
syslinux-debian.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Releasing debian version 3:6.03+dfsg-10.
[syslinux-debian.git]
/
com32
/
lib
/
stpcpy.c
blob
23e20af545745cf2a7e765598eebb3c290ee1f31
1
/*
2
* stpcpy.c
3
*
4
* stpcpy()
5
*/
6
7
#include <string.h>
8
9
char
*
stpcpy
(
char
*
dst
,
const char
*
src
)
10
{
11
char
*
q
=
dst
;
12
const char
*
p
=
src
;
13
char
ch
;
14
15
for
(;;) {
16
*
q
=
ch
= *
p
++;
17
if
(!
ch
)
18
break
;
19
q
++;
20
}
21
22
return
q
;
23
}