Re: [RFC] A need for "yesno"-function? (and "cleanup" of kernel.h)(was: Re: [KJ] [RFC] A need for a "yesno"-function?)

From: Richard Knutsson
Date: Fri Mar 16 2007 - 13:20:45 EST


Bernd Petrovitsch wrote:
On Fri, 2007-03-16 at 16:24 +0100, Richard Knutsson wrote:
[...]
more readable). The big problem is, where to put it? Seems wrong to put in <linux/string.h> since it appear to be a replica of userspace's <string.h> (otherwise, why put mem*-functions in there?).

memcpy(3) and memcmp(3) are also there in user-space.
Did I miss something or did you just restate what was stated? (If it was not a replica, I think the mem*-functions would be better placed in memory.h, or such)

Richard Knutsson

-
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/