summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2010-09-19 13:33:26 +0100
committerDavid Mitchell <davem@iabyn.com>2010-09-20 08:16:12 +0100
commitd9f0b46418e111c5d35dd5f6e3196a145a545f97 (patch)
tree0cdddc77691baca0f566a38510f0eba587cfdbcb /sv.c
parent90d6a7b29f616d5e892cf7ae5d10a94c43880dae (diff)
downloadperl-d9f0b46418e111c5d35dd5f6e3196a145a545f97.tar.gz
fix typo in newSVpvn_flags() docs
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index b5de5ce989..5381f93dbc 100644
--- a/sv.c
+++ b/sv.c
@@ -7801,7 +7801,7 @@ SV is set to 1. Note that if C<len> is zero, Perl will create a zero length
string. You are responsible for ensuring that the source string is at least
C<len> bytes long. If the C<s> argument is NULL the new SV will be undefined.
Currently the only flag bits accepted are C<SVf_UTF8> and C<SVs_TEMP>.
-If C<SVs_TEMP> is set, then C<sv2mortal()> is called on the result before
+If C<SVs_TEMP> is set, then C<sv_2mortal()> is called on the result before
returning. If C<SVf_UTF8> is set, C<s> is considered to be in UTF-8 and the
C<SVf_UTF8> flag will be set on the new SV.
C<newSVpvn_utf8()> is a convenience wrapper for this function, defined as