This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1d21077
)
perlapi: Document memzero
author
Karl Williamson
<khw@cpan.org>
Sat, 17 Oct 2020 21:45:58 +0000
(15:45 -0600)
committer
Karl Williamson
<khw@cpan.org>
Wed, 18 Nov 2020 12:16:34 +0000
(
05:16
-0700)
perl.h
patch
|
blob
|
blame
|
history
diff --git
a/perl.h
b/perl.h
index
70112bd
..
e8ecb1b
100644
(file)
--- 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