diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-05-19 00:28:51 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-05-19 00:28:51 +0000 |
commit | 9965345dfe11415fe4409828505acf6c7fe193b9 (patch) | |
tree | 698244d2acf57eb8a374213afbc7d3b728b26182 /pod/perlapi.pod | |
parent | 48eb4d6f7d05204aa5e734e924c7236048de530c (diff) | |
download | perl-9965345dfe11415fe4409828505acf6c7fe193b9.tar.gz |
Sarathy pointed out that instead of zeroing heap
it is more prudent to poison it.
p4raw-id: //depot/perl@16688
Diffstat (limited to 'pod/perlapi.pod')
-rw-r--r-- | pod/perlapi.pod | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pod/perlapi.pod b/pod/perlapi.pod index affe329bd1..08420967a8 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -1487,6 +1487,16 @@ memory is zeroed with C<memzero>. =for hackers Found in file handy.h +=item Poison + +Fill up memory with a pattern (byte 0xAB over and over again) that +hopefully catches attempts to access uninitialized memory. + + void Poison(void* dest, int nitems, type) + +=for hackers +Found in file handy.h + =item Renew The XSUB-writer's interface to the C C<realloc> function. |