Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
d41cdef9198e635270d30e82be939d4ea0cbce82
/
.
/
src
/
string
/
strncpy.c
blob: 441ba0335f7377da1562644d9436d5fbc9c2d6e7 [
file
] [
log
] [
blame
]
#include
<string.h>
char
*
__stpncpy
(
char
*,
const
char
*,
size_t
);
char
*
strncpy
(
char
*
restrict d
,
const
char
*
restrict s
,
size_t
n
)
{
__stpncpy
(
d
,
s
,
n
);
return
d
;
}