Re: [PATCH] [TRIVIAL] kstrdup

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Tue Jan 28 2003 - 23:51:30 EST


In message <20030123140215.GA1229@atrey.karlin.mff.cuni.cz> you write:
> Hi!
>
> > > > Everyone loves reimplementing strdup. Give them a kstrdup (basically
> > > > from drivers/md).
> > >
> > > I believe it would be better to call it strdup.
> >
> > No. Don't confuse people.
>
> Ehm?! What's confusing on strdup? Or you want to also introduce
> kmemcpy, kmemcmp, ksprintf etc?

It has an extra argument, like kmalloc.

Rusty.

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
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/



This archive was generated by hypermail 2b29 : Fri Jan 31 2003 - 22:00:21 EST