linux-stable-rt/arch/blackfin/lib/strncpy.c

12 lines
205 B
C

#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);
}