2 * Copyright 2005-2010 Analog Devices Inc.
4 * Licensed under the ADI BSD license or the GPL-2 (or later)
7 #include <linux/linkage.h>
9 /* void *strncpy(char *dest, const char *src, size_t n);
13 * Returns a pointer to the destination string dest
16 #ifdef CONFIG_STRNCPY_L1
40 /* if src is shorter than n, we need to null pad bytes in dest */