/* If @count is smaller than the length of the string, copies @count bytes and returns @count.  */
long strncpy_from_user(char *dst, const char __user *src, long count)
/* If @count is smaller than the length of the string, copies @count bytes and returns @count.  */
long strncpy_from_user(char *dst, const char __user *src, long count)
{
	long res = -EFAULT;
	if (access_ok(VERIFY_READ, src, 1))
		__do_strncpy_from_user(dst, src, count, res);
	return res;
}