git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: add a async read/write variant to device ops, with allow async io to be...
[lunaix-os.git]
/
lunaix-os
/
libs
/
klibc
/
string
/
strcpy.c
diff --git
a/lunaix-os/libs/klibc/string/strcpy.c
b/lunaix-os/libs/klibc/string/strcpy.c
index 1f7a06d08a928333909ec35d917eeaf08382c42b..88b5cb1ca2a02ab298e6f8b8a0532e59bcd0b454 100644
(file)
--- a/
lunaix-os/libs/klibc/string/strcpy.c
+++ b/
lunaix-os/libs/klibc/string/strcpy.c
@@
-14,7
+14,7
@@
strcpy(char* dest, const char* src)
}
char*
}
char*
-strncpy(char* dest, const char* src,
size_t
n)
+strncpy(char* dest, const char* src,
unsigned long
n)
{
char c;
unsigned int i = 0;
{
char c;
unsigned int i = 0;