Messages in this thread | | | Subject | Re: [RFC] A need for "yesno"-function? (and "cleanup" of kernel.h) | From | Bernd Petrovitsch <> | Date | Fri, 16 Mar 2007 18:15:50 +0100 |
| |
On Fri, 2007-03-16 at 18:09 +0100, Richard Knutsson wrote: > 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)
Ah, I misunderstood it as if you wonder why mem*() functions in <string.h>. Sorry.
Bernd -- Firmix Software GmbH http://www.firmix.at/ mobil: +43 664 4416156 fax: +43 1 7890849-55 Embedded Linux Development and Services
- 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/
| |