summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-10-17 15:45:58 -0600
committerKarl Williamson <khw@cpan.org>2020-11-18 05:16:34 -0700
commit897b41d9566b5d8b85e5a17526de5ca62ee40a71 (patch)
treef3d56e2b98f00f7a19ad5ca5af3c3ac6445ddd88 /perl.h
parent1d210779fca4e1f38a05cc35fab98b7584f54f27 (diff)
downloadperl-897b41d9566b5d8b85e5a17526de5ca62ee40a71.tar.gz
perlapi: Document memzero
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 70112bd81c..e8ecb1b34e 100644
--- a/perl.h
+++ b/perl.h
@@ -1376,6 +1376,12 @@ Use L</UV> to declare variables of the maximum usable size on this platform.
#define MALLOC_TOO_LATE_FOR(ch) TOO_LATE_FOR_(ch, " with $ENV{PERL_MALLOC_OPT}")
#define MALLOC_CHECK_TAINT2(argc,argv) MALLOC_CHECK_TAINT(argc,argv,NULL)
+/*
+=for apidoc Am|void|memzero|void * d|Size_t l
+Set the C<l> bytes starting at C<*d> to all zeroes.
+
+=cut
+*/
#ifndef memzero
# define memzero(d,l) memset(d,0,l)
#endif