diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2006-03-26 17:53:56 +0300 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-03-29 08:55:21 +0000 |
commit | 7e337ee0bc836d3147f3b2579c7e35127637e377 (patch) | |
tree | c29b93e66e8deb1fbf7132063cb81a86f7671650 /pod/perlclib.pod | |
parent | 5247441a32fa99437809b483eb208756c7ad2401 (diff) | |
download | perl-7e337ee0bc836d3147f3b2579c7e35127637e377.tar.gz |
re-[PATCH] Re: [PATCH] Poison now in two different flavours!
Message-ID: <442680D4.3000809@gmail.com>
p4raw-id: //depot/perl@27626
Diffstat (limited to 'pod/perlclib.pod')
-rw-r--r-- | pod/perlclib.pod | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pod/perlclib.pod b/pod/perlclib.pod index 837a36da67..f676842f60 100644 --- a/pod/perlclib.pod +++ b/pod/perlclib.pod @@ -138,9 +138,12 @@ pattern into it that should be illegal as pointers (and floating point numbers), and also hopefully surprising enough as integers, so that any code attempting to use the data without forethought will break sooner rather than later. Poisoning can be done using the Poison() -macro, which has similar arguments as Zero(): +macros, which have similar arguments as Zero(): - Poison(dst, n, t) + PoisonWith(dst, n, t, b) scribble memory with byte b + PoisonNew(dst, n, t) equal to PoisonWith(dst, n, t, 0xAB) + PoisonFree(dst, n, t) equal to PoisonWith(dst, n, t, 0xEF) + Poison(dst, n, t) equal to PoisonFree(dst, n, t) =head2 Character Class Tests |