Gitiles
Code Review
Sign In
LeafOS
/
LeafOS-Devices
/
android_kernel_realme_mt6785
/
8dab5241d06bfc9ee141ea78c56cde5070d7460d
/
.
/
arch
/
blackfin
/
lib
/
strncpy.c
blob: 77a9b2e950977bcb7d5fe213015dceef1308eb05 [
file
] [
log
] [
blame
]
#include
<linux/types.h>
#define
strncpy __inline_strncpy
#include
<asm/string.h>
#undef
strncpy
char
*
strncpy
(
char
*
dest
,
const
char
*
src
,
size_t
n
)
{
return
__inline_strncpy
(
dest
,
src
,
n
);
}