diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-02-11 09:43:03 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-02-11 09:43:03 +0000 |
commit | adc882cf99d008e01c073cdfa1fde20ef9820798 (patch) | |
tree | ba16629fcd700f2bc60f91ce7baebb8b74d6ca99 /pod/perlguts.pod | |
parent | 0cf744f2f6675f9433a3526b5d3dd322ee804f14 (diff) | |
download | perl-adc882cf99d008e01c073cdfa1fde20ef9820798.tar.gz |
av_extend() doc tweak from Jan Dubois
p4raw-id: //depot/perl@2867
Diffstat (limited to 'pod/perlguts.pod')
-rw-r--r-- | pod/perlguts.pod | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlguts.pod b/pod/perlguts.pod index 551e84c8df..0b9eed0a8f 100644 --- a/pod/perlguts.pod +++ b/pod/perlguts.pod @@ -263,9 +263,9 @@ return value. The C<av_clear> function deletes all the elements in the AV* array, but does not actually delete the array itself. The C<av_undef> function will delete all the elements in the array plus the array itself. The -C<av_extend> function extends the array so that it contains C<key> -elements. If C<key> is less than the current length of the array, then -nothing is done. +C<av_extend> function extends the array so that it contains at least C<key+1> +elements. If C<key+1> is less than the currently allocated length of the array, +then nothing is done. If you know the name of an array variable, you can get a pointer to its AV by using the following: |