Just catching up...
Most people will think: "But that's not efficient!" he first
determines the size using strlen, and only then does he start a
memcpy.
In fact most modern processors priming the cache and then doing the
copy is noticably faster or just a teeny little bit slower.
Roger.
-- ** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2600998 ** *-- BitWizard writes Linux device drivers for any device you may have! --* * I didn't say it was your fault. I said I was going to blame it on you. * - 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/