mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
1f83b8f148
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
10 lines
196 B
C
10 lines
196 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);
|
|
}
|