repo.or.cz
/
syslinux.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
memdisk: Force ld output format to 32-bits
[syslinux.git]
/
com32
/
lib
/
strcpy.c
blob
0e3b021660acca6e08e76a3e632bebb9afb77093
1
/*
2
* strcpy.c
3
*
4
* strcpy()
5
*/
6
7
#include <string.h>
8
9
char
*
strcpy
(
char
*
dst
,
const char
*
src
)
10
{
11
char
*
q
=
dst
;
12
const char
*
p
=
src
;
13
char
ch
;
14
15
do
{
16
*
q
++ =
ch
= *
p
++;
17
}
while
(
ch
);
18
19
return
dst
;
20
}