Change 11876 by jhi@alpha on 2001/09/05 11:51:24
Subject: Re: sv_catpvfn and sv_setpvfn
From: Richard Soderberg <[EMAIL PROTECTED]>
Date: Tue, 4 Sep 2001 15:16:47 -0700
Message-Id: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/pod/perlclib.pod#5 edit
... //depot/perl/pod/perlguts.pod#96 edit
Differences ...
==== //depot/perl/pod/perlclib.pod#5 (text) ====
Index: perl/pod/perlclib.pod
--- perl/pod/perlclib.pod.~1~ Wed Sep 5 06:00:06 2001
+++ perl/pod/perlclib.pod Wed Sep 5 06:00:06 2001
@@ -127,7 +127,7 @@
strncat(dt, src) sv_catpvn(sv, s)
sprintf(s, fmt, ...) sv_setpvf(sv, fmt, ...)
-Note also the existence of C<sv_catpvf> and C<sv_catpvfn>, combining
+Note also the existence of C<sv_catpvf> and C<sv_vcatpvfn>, combining
concatenation with formatting.
=head2 Character Class Tests
==== //depot/perl/pod/perlguts.pod#96 (text) ====
Index: perl/pod/perlguts.pod
--- perl/pod/perlguts.pod.~1~ Wed Sep 5 06:00:06 2001
+++ perl/pod/perlguts.pod Wed Sep 5 06:00:06 2001
@@ -54,7 +54,7 @@
void sv_setpv(SV*, const char*);
void sv_setpvn(SV*, const char*, int)
void sv_setpvf(SV*, const char*, ...);
- void sv_setpvfn(SV*, const char*, STRLEN, va_list *, SV **, I32, bool);
+ void sv_vsetpvfn(SV*, const char*, STRLEN, va_list *, SV **, I32, bool);
void sv_setsv(SV*, SV*);
Notice that you can choose to specify the length of the string to be
@@ -67,7 +67,7 @@
The arguments of C<sv_setpvf> are processed like C<sprintf>, and the
formatted output becomes the value.
-C<sv_setpvfn> is an analogue of C<vsprintf>, but it allows you to specify
+C<sv_vsetpvfn> is an analogue of C<vsprintf>, but it allows you to specify
either a pointer to a variable argument list or the address and length of
an array of SVs. The last argument points to a boolean; on return, if that
boolean is true, then locale-specific information has been used to format
@@ -162,7 +162,7 @@
void sv_catpv(SV*, const char*);
void sv_catpvn(SV*, const char*, STRLEN);
void sv_catpvf(SV*, const char*, ...);
- void sv_catpvfn(SV*, const char*, STRLEN, va_list *, SV **, I32, bool);
+ void sv_vcatpvfn(SV*, const char*, STRLEN, va_list *, SV **, I32, bool);
void sv_catsv(SV*, SV*);
The first function calculates the length of the string to be appended by
End of Patch.