Reminder: strlcat/strlcpy

Jonathan Larmour jifl@jifvik.org
Wed May 12 13:04:00 GMT 2010


Daniel Néri wrote:
> I'll take the opportunity to remind you about the patch I submitted more
> than 6 years ago, adding the strlcat and strlcpy functions:
> 
> http://sourceware.org/ml/ecos-patches/2004-02/msg00035.html
> 
> These very useful replacements for strncat and strncpy are supported in
> e.g. {Free,Net,Open}BSD, Mac OS X/Darwin and Solaris.

Heh, fair enough.

Would you mind updating it with these minor changes: update the copyright 
dates, add eCos copyright headers to the two new files, and if you don't 
mind while you're there, enclose the whole block of prototypes in 
bsdstring.h in:
#ifndef __STRICT_ANSI__

Jifl
-- 
------["The best things in life aren't things."]------      Opinions==mine



More information about the Ecos-patches mailing list