summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-05-11 13:20:44 -0600
committerKarl Williamson <khw@cpan.org>2022-05-18 04:38:23 -0600
commitcc25aab6cb4a7775b6211eabba574c3024cf3e6a (patch)
tree0de1e41f03571af7c2a1e639a38e6b123ec8b88a /util.c
parent55c874570eee4854b5e1079ef5a11ae6be4dfb3e (diff)
downloadperl-cc25aab6cb4a7775b6211eabba574c3024cf3e6a.tar.gz
perlapi: Document repeatcpy
Diffstat (limited to 'util.c')
-rw-r--r--util.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/util.c b/util.c
index c7360d4f22..acf4775b8b 100644
--- a/util.c
+++ b/util.c
@@ -3479,6 +3479,16 @@ Perl_my_pclose(pTHX_ PerlIO *ptr)
}
#endif
+/*
+=for apidoc repeatcpy
+
+Make C<count> copies of the C<len> bytes beginning at C<from>, placing them
+into memory beginning at C<to>, which must be big enough to accommodate them
+all.
+
+=cut
+*/
+
#define PERL_REPEATCPY_LINEAR 4
void
Perl_repeatcpy(char *to, const char *from, I32 len, IV count)