summaryrefslogtreecommitdiff
path: root/pad.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-02-03 12:03:09 -0700
committerKarl Williamson <khw@cpan.org>2016-02-03 12:09:44 -0700
commit0c395ea59771c4804bc38e8960b217d58fcf1043 (patch)
treef68c5cf5ecee87303d3ace0f1920cb931393d75d /pad.h
parent3a8ba71a30e1f40479d502ed94d67389d4058177 (diff)
downloadperl-0c395ea59771c4804bc38e8960b217d58fcf1043.tar.gz
perlapi: Clarify that a literal string must end in a NUL
Some entries already had this. For those, it standardizes the text.
Diffstat (limited to 'pad.h')
-rw-r--r--pad.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/pad.h b/pad.h
index 941ca10526..7ed10333f2 100644
--- a/pad.h
+++ b/pad.h
@@ -500,8 +500,8 @@ Clone the state variables associated with running and compiling pads.
/*
=for apidoc Am|PADOFFSET|pad_add_name_pvs|const char *name|U32 flags|HV *typestash|HV *ourstash
-Exactly like L</pad_add_name_pvn>, but takes a literal string instead
-of a string/length pair.
+Exactly like L</pad_add_name_pvn>, but takes a C<NUL>-terminated literal string
+instead of a string/length pair.
=cut
*/
@@ -512,8 +512,8 @@ of a string/length pair.
/*
=for apidoc Am|PADOFFSET|pad_findmy_pvs|const char *name|U32 flags
-Exactly like L</pad_findmy_pvn>, but takes a literal string instead
-of a string/length pair.
+Exactly like L</pad_findmy_pvn>, but takes a C<NUL>-terminated literal string
+instead of a string/length pair.
=cut
*/