| Store | Cart

Re: [PATCH] strlcat() and strlcpy

From: Marcus Holland-Moritz <mhx-...@gmx.net>
Mon, 27 Jun 2005 22:21:00 +0200
On 2005-06-27, at 13:19:22 -0500, Steve Peters wrote:

> > /*> >  * =for apidoc strlcpy> >  *> >  * This function concatenates C<src> to C<dst> up to a maximum> >  * size of C<size>, and guarantees that C<dst> is NUL-terminated> >  * with a size no larger than C<size>.> >  *> >  * This function is included in Perl only when the system's libc> >  * does not already include a library function called> >  * C<strlcat>.  Thanks to macros to redefine the function name,> >  * C<my_strlcat> should not be called directly.  C<strlcat>> >  * should be called instead.> >  *> >  *  =cut> >  *  */

Mmmmh, I guess indenting the '=for apidoc' stuff won't work,
since autodoc.pl has:

        if ($in =~ /^=for\s+apidoc\s+(.*?)\s*\n/) {

Marcus

-- 
We can predict everything, except the future.

Recent Messages in this Thread
Steve Peters Jun 27, 2005 06:19 pm
Marcus Holland-Moritz Jun 27, 2005 08:21 pm
Messages in this thread