diff options
author | Karl Williamson <khw@cpan.org> | 2014-05-04 17:09:22 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-05-30 16:11:28 -0600 |
commit | 6602b93363649555eb1086b0efd043f7ffa7d0b5 (patch) | |
tree | d38f75fba1e7a4ca6b767a17e9c454a4236fdc8f /sv.h | |
parent | 726137b54cce68fcc6b29154c8dd4b58a2b1e4d9 (diff) | |
download | perl-6602b93363649555eb1086b0efd043f7ffa7d0b5.tar.gz |
Wrap various pod uses of NUL with C<>
This makes the uses of this consistent in our pods. Also changed one
use of the word 'buffer' into 'string', the latter being more
appropriate.
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -773,7 +773,7 @@ attributable to C<SvOOK>. See C<SvCUR>. =for apidoc Am|char*|SvEND|SV* sv Returns a pointer to the spot just after the last character in the string which is in the SV, where there is usually a trailing -null (even though Perl scalars do not strictly require it). +C<NUL> byte (even though Perl scalars do not strictly require it). See C<SvCUR>. Access the character as *(SvEND(sv)). Warning: If C<SvCUR> is equal to C<SvLEN>, then C<SvEND> points to @@ -2044,7 +2044,7 @@ has been loaded. =for apidoc Am|char *|SvGROW|SV* sv|STRLEN len Expands the character buffer in the SV so that it has room for the indicated number of bytes (remember to reserve space for an extra trailing -NUL character). Calls C<sv_grow> to perform the expansion if necessary. +C<NUL> character). Calls C<sv_grow> to perform the expansion if necessary. Returns a pointer to the character buffer. SV must be of type >= SVt_PV. One alternative is to call C<sv_grow> if you are not sure of the type of SV. |