summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-01-19 13:02:36 -0700
committerKarl Williamson <khw@cpan.org>2018-01-19 13:05:54 -0700
commit8162c1afb1f54c157e62cc2627c156ef349a83d4 (patch)
tree2b52ba5dc7da2cd8e140d685a918f672c633d622
parent0367231ce260cd08bcb13082d510e5778668bcc1 (diff)
downloadperl-8162c1afb1f54c157e62cc2627c156ef349a83d4.tar.gz
newSVpvn(): Fix pod
There is no "buffer" argument; don't refer to one. Spotted by KES
-rw-r--r--sv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index 6ad33c0bfc..ccb7657858 100644
--- a/sv.c
+++ b/sv.c
@@ -9323,7 +9323,7 @@ Creates a new SV and copies a string into it, which may contain C<NUL> character
(C<\0>) and other binary data. The reference count for the SV is set to 1.
Note that if C<len> is zero, Perl will create a zero length (Perl) string. You
are responsible for ensuring that the source buffer is at least
-C<len> bytes long. If the C<buffer> argument is NULL the new SV will be
+C<len> bytes long. If the C<s> argument is NULL the new SV will be
undefined.
=cut