Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F41988819
vprintf.c
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
848 B
Referenced Files
None
Subscribers
None
vprintf.c
View Options
/*
@deftypefn Supplemental int vprintf (const char *@var{format}, va_list @var{ap})
@deftypefnx Supplemental int vfprintf (FILE *@var{stream}, const char *@var{format}, va_list @var{ap})
@deftypefnx Supplemental int vsprintf (char *@var{str}, const char *@var{format}, va_list @var{ap})
These functions are the same as @code{printf}, @code{fprintf}, and
@code{sprintf}, respectively, except that they are called with a
@code{va_list} instead of a variable number of arguments. Note that
they do not call @code{va_end}; this is the application's
responsibility. In @libib{} they are implemented in terms of the
nonstandard but common function @code{_doprnt}.
@end deftypefn
*/
#include
<ansidecl.h>
#include
<stdarg.h>
#include
<stdio.h>
#undef vprintf
int
vprintf
(
const
char
*
format
,
va_list
ap
)
{
return
vfprintf
(
stdout
,
format
,
ap
);
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sat, Aug 8, 09:00 (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3912757
Default Alt Text
vprintf.c (848 B)
Attached To
Mode
rDARKBOT Darkbot
Attached
Detach File
Event Timeline
Log In to Comment