8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / sendmail / libsm / vprintf.c
blob57acfb471ab10f28d102f5d7812ae51e632f4f83
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.
7 * This code is derived from software contributed to Berkeley by
8 * Chris Torek.
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.
15 #pragma ident "%Z%%M% %I% %E% SMI"
17 #include <sm/gen.h>
18 SM_RCSID("@(#)$Id: vprintf.c,v 1.12 2001/01/24 01:27:26 gshapiro Exp $")
19 #include <sm/io.h>
20 #include "local.h"
23 ** SM_VPRINTF -- print to standard out with variable length args
25 ** Parameters:
26 ** timeout -- length of time allow to do the print
27 ** fmt -- the format of the output
28 ** ap -- the variable number of args to be used for output
30 ** Returns:
31 ** as sm_io_vfprintf() does.
34 int
35 sm_vprintf(timeout, fmt, ap)
36 int timeout;
37 char const *fmt;
38 SM_VA_LOCAL_DECL
40 return sm_io_vfprintf(smiostdout, timeout, fmt, ap);