Re: Resend [PATCH] Make KOBJ_NAME_LEN match BUS_ID_SIZE

Edgar Toernig (froese@gmx.de)
Sun, 25 May 2003 19:24:40 +0200


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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/