Skip to content

Commit

Permalink
refs #2677 fixed vprintf() docs (#2694)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnich authored and pvanek committed Mar 10, 2018
1 parent f1e43bc commit 41c00d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/QC_File.qpp
Expand Up @@ -4,7 +4,7 @@
Qore Programming Language
Copyright (C) 2003 - 2017 Qore Technologies, s.r.o.
Copyright (C) 2003 - 2018 Qore Technologies, s.r.o.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down
6 changes: 3 additions & 3 deletions lib/ql_string.qpp
Expand Up @@ -4,7 +4,7 @@
Qore Programming Language
Copyright (C) 2003 - 2017 Qore Technologies, s.r.o.
Copyright (C) 2003 - 2018 Qore Technologies, s.r.o.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -1843,7 +1843,7 @@ string f_vprintf(string[doc] fmt, any[doc] varg) [dom=TERMINAL_IO] {
This function will not truncate output longer than any field width given in the @ref string_formatting "format string"
@param fmt the @ref string_formatting "format string"
@param ... the argument(s) corresponding to format specifiers in the format string
@param varg the argument(s) corresponding to format specifiers in the format string
@return the formatted string output corresponding to the arguments given
Expand All @@ -1856,7 +1856,7 @@ vprintf("%5s %3d", ("a long string", 5000)); # will print out "a long string 500
- @ref string_formatting for information on the formatting string
- f_vprintf() for a similar function that enforces field widths
*/
string vprintf(string[doc] fmt, ...) [dom=TERMINAL_IO] {
string vprintf(string[doc] fmt, any[doc] varg) [dom=TERMINAL_IO] {
AbstractQoreNode* node;
print_node(stdout, node = q_vsprintf(args, 0, 0, xsink));
return node;
Expand Down

0 comments on commit 41c00d5

Please sign in to comment.