vprintf.c revision 95154
1/*
2 * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
3 *      All rights reserved.
4 * Copyright (c) 1990, 1993
5 *	The Regents of the University of California.  All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Chris Torek.
9 *
10 * By using this file, you agree to the terms and conditions set
11 * forth in the LICENSE file which can be found at the top level of
12 * the sendmail distribution.
13 */
14
15#include <sm/gen.h>
16SM_RCSID("@(#)$Id: vprintf.c,v 1.1.1.1 2002/02/17 21:56:43 gshapiro Exp $")
17#include <sm/io.h>
18#include "local.h"
19
20/*
21**  SM_VPRINTF -- print to standard out with variable length args
22**
23**	Parameters:
24**		timeout -- length of time allow to do the print
25**		fmt -- the format of the output
26**		ap -- the variable number of args to be used for output
27**
28**	Returns:
29**		as sm_io_vfprintf() does.
30*/
31
32int
33sm_vprintf(timeout, fmt, ap)
34	int timeout;
35	char const *fmt;
36	SM_VA_LOCAL_DECL
37{
38	return sm_io_vfprintf(smiostdout, timeout, fmt, ap);
39}
40