190792Sgshapiro/*
290792Sgshapiro * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
390792Sgshapiro *      All rights reserved.
490792Sgshapiro * Copyright (c) 1990, 1993
590792Sgshapiro *	The Regents of the University of California.  All rights reserved.
690792Sgshapiro *
790792Sgshapiro * This code is derived from software contributed to Berkeley by
890792Sgshapiro * Chris Torek.
990792Sgshapiro *
1090792Sgshapiro * By using this file, you agree to the terms and conditions set
1190792Sgshapiro * forth in the LICENSE file which can be found at the top level of
1290792Sgshapiro * the sendmail distribution.
1390792Sgshapiro */
1490792Sgshapiro
1590792Sgshapiro#include <sm/gen.h>
1698121SgshapiroSM_RCSID("@(#)$Id: vprintf.c,v 1.14 2001/09/11 04:04:49 gshapiro Exp $")
1790792Sgshapiro#include <sm/io.h>
1890792Sgshapiro#include "local.h"
1990792Sgshapiro
2090792Sgshapiro/*
2190792Sgshapiro**  SM_VPRINTF -- print to standard out with variable length args
2290792Sgshapiro**
2390792Sgshapiro**	Parameters:
2490792Sgshapiro**		timeout -- length of time allow to do the print
2590792Sgshapiro**		fmt -- the format of the output
2690792Sgshapiro**		ap -- the variable number of args to be used for output
2790792Sgshapiro**
2890792Sgshapiro**	Returns:
2990792Sgshapiro**		as sm_io_vfprintf() does.
3090792Sgshapiro*/
3190792Sgshapiro
3290792Sgshapiroint
3390792Sgshapirosm_vprintf(timeout, fmt, ap)
3490792Sgshapiro	int timeout;
3590792Sgshapiro	char const *fmt;
3690792Sgshapiro	SM_VA_LOCAL_DECL
3790792Sgshapiro{
3890792Sgshapiro	return sm_io_vfprintf(smiostdout, timeout, fmt, ap);
3990792Sgshapiro}
40