diff options
author | Karl Williamson <khw@cpan.org> | 2020-10-17 15:45:58 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-11-18 05:16:34 -0700 |
commit | 897b41d9566b5d8b85e5a17526de5ca62ee40a71 (patch) | |
tree | f3d56e2b98f00f7a19ad5ca5af3c3ac6445ddd88 /perl.h | |
parent | 1d210779fca4e1f38a05cc35fab98b7584f54f27 (diff) | |
download | perl-897b41d9566b5d8b85e5a17526de5ca62ee40a71.tar.gz |
perlapi: Document memzero
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |