Re: Resend [PATCH] Make KOBJ_NAME_LEN match BUS_ID_SIZE

From: Edgar Toernig (froese@gmx.de)
Date: Sun May 25 2003 - 12:30:12 EST


René Scharfe wrote:
> +size_t strlcpy(char *dest, const char *src, size_t bufsize)
> +{
> + size_t len = strlen(src);
> + size_t ret = len;
> +
> + if (bufsize == 0)
> + return 0;

return ret; ???
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/