summaryrefslogtreecommitdiff
path: root/doop.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-05-19 12:35:35 -0600
committerKarl Williamson <khw@cpan.org>2022-05-20 14:59:09 -0600
commitee85153c5be6c687c46b7b967ecb852c44341f03 (patch)
treef8ba2f39d15a1f72bb01c4a1fe0e09c98c16fdde /doop.c
parente8c6e1955ee87066678ecec00f47283dbd1e1ca7 (diff)
downloadperl-ee85153c5be6c687c46b7b967ecb852c44341f03.tar.gz
perlapi: Document do_sprintf
Diffstat (limited to 'doop.c')
-rw-r--r--doop.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/doop.c b/doop.c
index ede537723c..025d1d8086 100644
--- a/doop.c
+++ b/doop.c
@@ -701,6 +701,22 @@ Perl_do_join(pTHX_ SV *sv, SV *delim, SV **mark, SV **sp)
SvSETMAGIC(sv);
}
+/*
+=for apidoc_section $string
+=for apidoc do_sprintf
+
+This performs a Perl L<C<sprintf>|perlfunc/sprintf> placing the string output
+into C<sv>.
+
+The elements to format are in SVs, stored in a C array of pointers to SVs of
+length C<len>> and beginning at C<**sarg>. The element referenced by C<*sarg>
+is the format.
+
+Magic and tainting are handled.
+
+=cut
+*/
+
void
Perl_do_sprintf(pTHX_ SV *sv, SSize_t len, SV **sarg)
{