mirror of
https://github.com/fluencelabs/musl
synced 2025-06-24 20:21:59 +00:00
initial check-in, version 0.5.0
This commit is contained in:
9
src/string/strncpy.c
Normal file
9
src/string/strncpy.c
Normal file
@ -0,0 +1,9 @@
|
||||
#include <string.h>
|
||||
|
||||
char *__stpncpy(char *, const char *, size_t);
|
||||
|
||||
char *strncpy(char *d, const char *s, size_t n)
|
||||
{
|
||||
__stpncpy(d, s, n);
|
||||
return d;
|
||||
}
|
Reference in New Issue
Block a user