Last change
on this file since 351 was 337, checked in by coas-nagasima, 6 years ago |
ASP3版ECNLを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-csrc;charset=UTF-8
|
File size:
274 bytes
|
Line | |
---|
1 | #include <string.h>
|
---|
2 |
|
---|
3 | char *__stpcpy(char *, const char *);
|
---|
4 |
|
---|
5 | char *strcpy(char *restrict dest, const char *restrict src)
|
---|
6 | {
|
---|
7 | #if 1
|
---|
8 | __stpcpy(dest, src);
|
---|
9 | return dest;
|
---|
10 | #else
|
---|
11 | const unsigned char *s = src;
|
---|
12 | unsigned char *d = dest;
|
---|
13 | while ((*d++ = *s++));
|
---|
14 | return dest;
|
---|
15 | #endif
|
---|
16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.